Add try_take_for to BlockingQueue
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
Showing
Please register or sign in to comment