• Rustam Miftakhutdinov's avatar
    Add deadlock detector to folly and thrift server · cd2a2b28
    Rustam Miftakhutdinov authored
    Summary:
    - Add DeadlockDetector interface to folly/concurrency
    - Add IOThreadPoolDeadlockDetectorObserver class that can be registered in IOThreadPoolExecutor to enable the functionality for its threads that use EventBase.
    - In ThriftServer use the new observer with IOThreadPoolExecutor
    - Default implementation of deadlock detector is stubbed out and does not do anything
    
    Reviewed By: mshneer
    
    Differential Revision: D28582490
    
    fbshipit-source-id: 1cf3c2957b46de83f07c53bab708fe09ebbe2b79
    cd2a2b28
DeadlockDetector.cpp 908 Bytes