OSSP CVS Repository |
![]() |
|
I have writte a patch, which adds support for semaphores to pth, which support a wide range of usage possibilties.The interface provides functions to set/get the value of a semaphore, increment it with arbitrary values, wait, until the value becomes bigger than a given value (without or with decrementing, if the condition becomes true.
Some documentation and the patch is published at ¤http://www.auto.tuwien.ac.at/~mkoegler/index.php/pth
I am using the patch for a while without any problems. Maybe the names of Flags should be changed and it would be possible to reuse bits.
By the way, the content of the HACKING file seems to be a little bit outdated, eg. the anonymouse CVS server works not any more.
mfg Martin Koegler e9925248@stud4.tuwien.ac.at
|
Type: new Version: SNAP-20050111 Status: new Created: 2005-Jan-28 11:15 Severity: 4 Last Change: 2005-Feb-19 15:05 Priority: 4 Subsystem: pth Assigned To: rse Derived From: Creator: anonymous