14#include "arccore/concurrency/Mutex.h"
15#include "arccore/concurrency/IThreadImplementation.h"
29 m_thread_impl = Concurrency::getThreadImplementation();
30 m_p = m_thread_impl->createMutex();
39 m_thread_impl->destroyMutex(m_p);
45 m_thread_impl->lockMutex(m_p);
51 m_thread_impl->unlockMutex(m_p);
57MutexImpl* GlobalMutex::m_p = 0;
75 Concurrency::getThreadImplementation()->lockMutex(m_p);
82 Concurrency::getThreadImplementation()->unlockMutex(m_p);
static void init(MutexImpl *p)
Initialise le mutex global. Interne a Arccore. Doit être alloué par new.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-