synchronization/ParkingLot
authorDave Watson <davejwatson@fb.com>
Thu, 28 Dec 2017 15:46:10 +0000 (07:46 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 28 Dec 2017 15:54:39 +0000 (07:54 -0800)
commit84ad2a4d4b52b0207b35f35c54702cb87189fe4d
treef4bb465be7e9f13efa47a9e769c21a7350068e4c
parentcadfe2cdced5c15f1a3e836dba01e931d09d2763
synchronization/ParkingLot

Summary:
A ParkingLot API inspired by linux futex syscall, and WebKit's parkingLot.

Extends the futex interface with lambdas, such that many different sleeping abstractions
can be built.

Reviewed By: yfeldblum, aary

Differential Revision: D6581826

fbshipit-source-id: dba741fe4ed34f27bfad5f5747adce85741441e0
folly/Makefile.am
folly/synchronization/ParkingLot.cpp [new file with mode: 0644]
folly/synchronization/ParkingLot.h [new file with mode: 0644]
folly/synchronization/test/ParkingLotTest.cpp [new file with mode: 0644]