]> git.pld-linux.org Git - packages/db3.git/blame - db3-linux.patch
- release 12: spec simplified by remove not neccessary java conditions around
[packages/db3.git] / db3-linux.patch
CommitLineData
ed169810 1--- db-3.0.55/mutex/mut_pthread.c.linux Mon Apr 24 09:25:36 2000
2+++ db-3.0.55/mutex/mut_pthread.c Mon Apr 24 09:36:31 2000
3@@ -86,16 +86,22 @@
4
5 if (!F_ISSET(mutexp, MUTEX_THREAD)) {
6 ret = pthread_condattr_init(&condattr);
7+/* XXX linux threads implementation has not attributes for conditions. */
8+#if !defined(__linux__)
9 if (ret == 0)
10 ret = pthread_condattr_setpshared(
11 &condattr, PTHREAD_PROCESS_SHARED);
12+#endif
13 condattrp = &condattr;
14
15 if (ret == 0)
16 ret = pthread_mutexattr_init(&mutexattr);
17+/* XXX linux threads implementation has not attributes for mutexes. */
18+#if !defined(__linux__)
19 if (ret == 0)
20 ret = pthread_mutexattr_setpshared(
21 &mutexattr, PTHREAD_PROCESS_SHARED);
22+#endif
23 mutexattrp = &mutexattr;
24 }
25
This page took 0.052735 seconds and 4 git commands to generate.