Re: can pthread and pth coexist

2003-10-24 Thread Kevin Cosgrove
On 24 October 2003 at 21:23, Steve Alstrin <[EMAIL PROTECTED]> wrote: > Hum, this doesn't sound fun, however we ran into a condition with recursive > use of mutexs that sounds familiar you might replace any mutex code in mondo > with the following extra "pthread_mutexattr_settype" call. > >

RE: can pthread and pth coexist

2003-10-24 Thread Steve Alstrin
Hum, this doesn't sound fun, however we ran into a condition with recursive use of mutexs that sounds familiar you might replace any mutex code in mondo with the following extra "pthread_mutexattr_settype" call. pthread_mutexattr_init(&_mutex_attrs); pthread_mutexattr_settype(&_mutex_attrs

Re: can pthread and pth coexist

2003-10-24 Thread Kevin Cosgrove
On 24 October 2003 at 16:32, Steve Alstrin <[EMAIL PROTECTED]> wrote: > Ok i'm really confused on what it is your trying to do. Are you > trying to build a package with pth libpthread instead of the > system libpthread? Yes, exactly. > If so you should install pth libpthread somewhere other tha

RE: can pthread and pth coexist

2003-10-24 Thread Steve Alstrin
Ok i'm really confused on what it is your trying to do. Are you trying to build a package with pth libpthread instead of the system libpthread? If so you should install pth libpthread somewhere other than the system lib and include dirs, such as /usr/local/lib and /usr/local/include. Then whatever

Re: can pthread and pth coexist

2003-10-24 Thread Kevin Cosgrove
On 23 October 2003 at 14:42, Steve Alstrin <[EMAIL PROTECTED]> wrote: > Yes you did miss something, but it's not your fault, heehee. Include the > pthread.h file before any other system files and that should fix the > problem. OK, I just did that and it didn't work. But, I fixed it after that.