diff options
| author | David Xu <davidxu@FreeBSD.org> | 2010-10-26 09:25:29 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2010-10-26 09:25:29 +0000 |
| commit | b11e8ae6799fdb8cf7d5b1bc20e694a87f772472 (patch) | |
| tree | 966b0f22f9d42a31b65ff99b47b4e297fd42b4bf /lib/libthr/thread/thr_init.c | |
| parent | 52754c7acbd98290ed087c5790be23a0b5ffbe41 (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_init.c')
| -rw-r--r-- | lib/libthr/thread/thr_init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c index f96bba9c617a..adadfa0199d3 100644 --- a/lib/libthr/thread/thr_init.c +++ b/lib/libthr/thread/thr_init.c @@ -92,6 +92,12 @@ struct pthread_mutex_attr _pthread_mutexattr_default = { .m_ceiling = 0 }; +struct pthread_mutex_attr _pthread_mutexattr_adaptive_default = { + .m_type = PTHREAD_MUTEX_ADAPTIVE_NP, + .m_protocol = PTHREAD_PRIO_NONE, + .m_ceiling = 0 +}; + /* Default condition variable attributes: */ struct pthread_cond_attr _pthread_condattr_default = { .c_pshared = PTHREAD_PROCESS_PRIVATE, |
