[reSIProcate] RecursiveMutex for APPLE and INTEL_COMPILER

Bruce Lowekamp lowekamp at sipeerior.com
Thu Jul 5 13:26:42 CDT 2007


Why is this ifdef to not compile RecursiveMutex in the code?

#if defined( __APPLE__ )  || defined (__INTEL_COMPILER)
// !cj! need to write apple/intel mutex stuff
namespace resip
{

RecursiveMutex::RecursiveMutex()
{
   //assert(0);
}
...


OSX (at least 10.4) can compile the regular implementation just
fine---we just removed the defined(__APPLE__) and recursive mutexes
work.  I don't know about the __INTEL_COMPILER, but why are all the
assert(0)'s commented out?  Seems like code that tries to use this
would want to know it's not really getting a mutex.

Bruce



More information about the resiprocate-devel mailing list