Mac OS X doesn't have recursive mutexes... I don't know what was done with orbit, perhaps recursive locking was not required...
You can't really work around it easily, you'll have to write a recursive mutex function yourself. There was some discussion on darwin-development about this recently, perhaps an archive search there will help you out. Peter On Wednesday, March 20, 2002, at 12:56 PM, Jeremy Higgs wrote: > Hi everyone, > > I'm trying to port aptitude over for use with MacOS X and Fink, but I'm > getting this error: > > > #define DEFINE_LOCK(x) pthread_mutex_t x##_lock = > PTHREAD_RECURSIVE_MUTEX_INITIA > LIZER_NP > > (from /sw/include/orbit-1.0/ORBitutil/thread-safety.h) > > Is there any way I could declare > "PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP"? > What would I declare it as? _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel