ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/main_unix.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/main_unix.cpp (file contents):
Revision 1.48 by cebix, 2002-07-31T16:46:14Z vs.
Revision 1.49 by gbeauche, 2002-09-16T15:06:24Z

# Line 803 | Line 803 | struct B2_mutex {
803   #if defined(HAVE_PTHREAD_MUTEXATTR_SETTYPE) && defined(PTHREAD_MUTEX_NORMAL)
804              pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL);
805   #endif
806 + #ifdef HAVE_PTHREAD_MUTEXATTR_SETPSHARED
807              pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_PRIVATE);
808 + #endif
809              pthread_mutex_init(&m, &attr);
810              pthread_mutexattr_destroy(&attr);
811          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines