sapling/eden
Chad Austin edf20155c9 fix a deadlock - lock ordering violation in Journal/StreamingSubscriber
Summary:
There was a lock ordering violation in the combination of StreamingSubscriber and Journal.  I changed StreamingSubscriber to always acquire the Journal lock before StreamingSubscriber's State lock.

I also simplified StreamingSubscriber's API to a single static function to isolate all of the lifetime and thread safety concerns in one implementation file.

This fixes a regression caused by D6162717

Reviewed By: simpkins

Differential Revision: D6202770

fbshipit-source-id: 326269db15bf3200bd6321edf372daf286784fb5
2017-11-01 12:24:44 -07:00
..
cli Add a --stdout option to eden rage. 2017-10-31 17:06:08 -07:00
docs update logging statements to use folly logging APIs 2017-06-22 13:50:13 -07:00
facebook Create a utility for enumerating and parsing Buck build traces. 2017-09-08 00:09:04 -07:00
fs fix a deadlock - lock ordering violation in Journal/StreamingSubscriber 2017-11-01 12:24:44 -07:00
hooks Update the hg/post-clone hook to write the .hg/dirstate file. 2017-10-27 13:35:26 -07:00
integration Use a more direct stringification of an exception. 2017-10-31 17:06:08 -07:00
DEFS move eden/fs/cli to eden/cli 2017-04-14 11:39:01 -07:00