20#if defined(THREAD_DUMMY_IMPL)||defined(THREAD_SIMPLE_IMPL)
25#define HAVE_REMUTEXIMPL 1
27#elif defined(MUTEX_SPINLOCK)
30typedef MutexSpinlockImpl MutexImpl;
31#undef HAVE_REMUTEXIMPL
33#elif defined(THREAD_WIN32_IMPL)
36typedef MutexWin32Impl MutexImpl;
37typedef MutexWin32Impl ReMutexImpl;
38#define HAVE_REMUTEXIMPL 1
40#elif defined(THREAD_POSIX_IMPL)
43typedef MutexPosixImpl MutexImpl;
44typedef ReMutexPosixImpl ReMutexImpl;
45#define HAVE_REMUTEXIMPL 1
52#if defined(WIN32_VC) || (defined(_WIN32) && !defined(HAVE_POSIX_THREADS))
54typedef MutexWin32Impl TrueMutexImpl;
56#elif defined(HAVE_POSIX_THREADS)
58typedef MutexPosixImpl TrueMutexImpl;
A fake mutex implementation for single-threaded applications that don't need any synchronization cont...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.