mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
17 lines
530 B
C
17 lines
530 B
C
--- libmicro.c.orig 2011-05-11 00:58:23 UTC
|
|
+++ libmicro.c
|
|
@@ -859,10 +859,14 @@ barrier_create(int hwm, int datasize)
|
|
b->ba_flag = 0;
|
|
|
|
(void) pthread_mutexattr_init(&attr);
|
|
+#if !defined(__FreeBSD__)
|
|
(void) pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_SHARED);
|
|
+#endif
|
|
|
|
(void) pthread_condattr_init(&cattr);
|
|
+#if !defined(__FreeBSD__)
|
|
(void) pthread_condattr_setpshared(&cattr, PTHREAD_PROCESS_SHARED);
|
|
+#endif
|
|
|
|
(void) pthread_mutex_init(&b->ba_lock, &attr);
|
|
(void) pthread_cond_init(&b->ba_cv, &cattr);
|