Re: missing pthread_mutex_timedlock

2011-12-12 Thread Philip Guenther
On Mon, Dec 12, 2011 at 5:54 AM, David Coppa wrote: > While working on enabling upnp/natpmp support into net/mldonkey, > I've found we miss pthread_mutex_timedlock(). > > For now I've the diff below, which is ripped/adapted from xine-lib, > and it seems to do the trick... > > Would it be useful to

missing pthread_mutex_timedlock

2011-12-12 Thread David Coppa
s at: http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_mutex_timedlock.html cheers! David --- cut here --- $OpenBSD$ Work around missing pthread_mutex_timedlock() --- src/utils/net/upnp_stubs.c.orig Mon Nov 1 18:19:23 2010 +++ src/utils/net/upnp_stubs.c Mon Dec 12 14:22:58 2011 @@ -168