14#include "arccore/concurrency/Mutex.h"
15#include "arccore/concurrency/IThreadImplementation.h"
32 m_thread_impl = Concurrency::getThreadImplementation();
33 m_p = m_thread_impl->createMutex();
42 m_thread_impl->destroyMutex(m_p);
48 m_thread_impl->lockMutex(m_p);
54 m_thread_impl->unlockMutex(m_p);
60MutexImpl* GlobalMutex::m_p = 0;
78 Concurrency::getThreadImplementation()->lockMutex(m_p);
85 Concurrency::getThreadImplementation()->unlockMutex(m_p);
static void init(MutexImpl *p)
Initialise le mutex global. Interne a Arccore. Doit être alloué par new.
Espace de nom de Arccore.