• Dave Watson's avatar
    Add try_take_for to BlockingQueue · 5a7b4437
    Dave Watson authored
    Summary:
    add try_take_for to BlockingQueue, utilizing new LifoSem::try_wait_for method.
    To be used to kill threads after an idle period in CPUThreadPoolExecutor.
    
    Reviewed By: magedm
    
    Differential Revision: D7477268
    
    fbshipit-source-id: 76ea7fa1fc3b4b5f7a7529ce1424a91eef2ac7b1
    5a7b4437
BlockingQueue.h 1.51 KB