use LifoSem instead of sem_t for ManualExecutor
authorHans Fugal <fugalh@fb.com>
Thu, 11 Jun 2015 18:52:33 +0000 (11:52 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 11 Jun 2015 20:15:13 +0000 (13:15 -0700)
commitf58b11823cfb994c351722ce130f28f794db2c0e
treef711600350607f60336b64bfc41a1b277e67c2e6
parentd167b41554b659b3c0966210b17f6e038eb11648
use LifoSem instead of sem_t for ManualExecutor

Summary: OSX apparently knows better than all of us plebes, and got rid of anonymous semaphores. Rather than try to work around that directly, I just switched to folly::LifoSem, which seems like a not-terrible idea anyway.

Reviewed By: @jsedgwick

Differential Revision: D2143566
folly/futures/ManualExecutor.cpp
folly/futures/ManualExecutor.h