|
pthread_barrier_timedwait()
|
01/22/2008 1:08 AM
post4490
|
pthread_barrier_timedwait()
I created a function called pthread_barrier_timedwait(). Most other sync methods have a timed version but not pthread
_barrier_ait(). I found it odd that it's missing, maybe there is a good reason for it.
At any rate, I took the source of pthread_barrier_wait and added some timeout stuff in there. Drop me a note if anyone
is interested.
- Mario
|
|
|