Mercurial > projects > ldc
comparison runtime/internal/monitor.c @ 558:02fb65cddc3e
Merge rest of patch from #72.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Fri, 29 Aug 2008 14:48:40 +0200 |
parents | f478666f5b96 |
children | fbc454d4ce80 |
comparison
equal
deleted
inserted
replaced
557:aef77ae1d32c | 558:02fb65cddc3e |
---|---|
125 | 125 |
126 /* =============================== linux ============================ */ | 126 /* =============================== linux ============================ */ |
127 | 127 |
128 #if USE_PTHREADS | 128 #if USE_PTHREADS |
129 | 129 |
130 #ifndef HAVE_PTHREAD_MUTEX_RECURSIVE | |
131 #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE | |
132 #endif | |
133 | |
130 // Includes attribute fixes from David Friedman's GDC port | 134 // Includes attribute fixes from David Friedman's GDC port |
131 | 135 |
132 static pthread_mutex_t _monitor_critsec; | 136 static pthread_mutex_t _monitor_critsec; |
133 static pthread_mutexattr_t _monitors_attr; | 137 static pthread_mutexattr_t _monitors_attr; |
134 | 138 |