diff options
Diffstat (limited to 'benchmarks/libmicro/files/patch-mutex.c')
-rw-r--r-- | benchmarks/libmicro/files/patch-mutex.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/benchmarks/libmicro/files/patch-mutex.c b/benchmarks/libmicro/files/patch-mutex.c new file mode 100644 index 000000000000..8ff00c197695 --- /dev/null +++ b/benchmarks/libmicro/files/patch-mutex.c @@ -0,0 +1,14 @@ +--- mutex.c.orig Sat Aug 6 14:17:43 2005 ++++ mutex.c Sat Aug 6 14:18:26 2005 +@@ -125,9 +125,11 @@ + errors++; + } else { + (void) pthread_mutexattr_init(&attr); ++#if !defined(__FreeBSD__) + if (optp) + (void) pthread_mutexattr_setpshared(&attr, + PTHREAD_PROCESS_SHARED); ++#endif + + if (pthread_mutex_init(lock, &attr) != 0) + errors++; |