summaryrefslogtreecommitdiff
path: root/source3/lib/tevent_barrier.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-17s3: Implement tevent_barrierVolker Lendecke1-0/+197
This will help notify torture tests: A tevent barrier can be waited on with tevent_barrier_wait_send/recv. The barrier is initialized with a number of requests that it will accept waiting. When that number is reached, all those requests will be released and their callback will be called. The barrier will be free for re-use again.