On 06/25/2002 at 11:19:39 PM ZE2, Marijn Ros <[email protected]>
wrote:
>
> Mono wants to have a function pthread_mutex_timedlock (or else it
> emulates it with pthread_mutex_trylock and sleep), that, according to
> the linuxthreads pthread.h is defined in XOpen2K. The standard
> probably contains lots of other interesting functions
> (rwlock_timedwait for example), but this happened to be the one I
> needed.
>
> I took the liberty to make a patch to include this function in
> NGPT. To keep in style with the patches the NGPT-team distributes for
> the linux-kernel, the patch also contains totally unrelated hacks to
> pth_p.h.in to stop the preprocessor-warnings about double
> declarations :)
>
We're current at code freeze/cvs freeze for our 2.0 release so I can't add
your patch just yet since it's new functionality. We plan on supporting
more and more from the XOpen2K in the future, but your's will be the first.
I'll put it in the first post 2.0 release.
Regards,
Bill Abt
Senior Software Engineer
Next Generation POSIX Threading for Linux
IBM Cambridge, MA, USA 02142
Ext: +(00)1 603-673-3440
T/L: 253-9938
Cell: +(00)1 617-803-7514
[email protected] or [email protected]
http://oss.software.ibm.com/developerworks/opensource/pthreads
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.