8#ifndef INCLUDED_BSLMT_RECURSIVEMUTEXIMPL_PTHREAD
9#define INCLUDED_BSLMT_RECURSIVEMUTEXIMPL_PTHREAD
68#include <bslscm_version.h>
72#ifdef BSLMT_PLATFORM_POSIX_THREADS
78#ifndef PTHREAD_MUTEX_RECURSIVE
85template <
class THREAD_POLICY>
86class RecursiveMutexImpl;
97class RecursiveMutexImpl<Platform::PosixThreads> {
100 pthread_mutex_t d_lock;
102#ifndef PTHREAD_MUTEX_RECURSIVE
114 RecursiveMutexImpl(
const RecursiveMutexImpl&);
115 RecursiveMutexImpl& operator=(
const RecursiveMutexImpl&);
123 RecursiveMutexImpl();
126 ~RecursiveMutexImpl();
170RecursiveMutexImpl<bslmt::Platform::PosixThreads>::~RecursiveMutexImpl()
172 pthread_mutex_destroy(&d_lock);
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bslmt_barrier.h:344
Definition bsls_spinlock.h:383