aboutsummaryrefslogtreecommitdiff
path: root/assets/blender/mbb/modern_japanlocomotive_windows_join.blend
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2024-11-25 22:36:23 +0100
committerorwell <orwell@bleipb.de>2024-11-25 22:36:23 +0100
commit95faa8f1baa68c3f6a104160d61713ade276676b (patch)
tree9c032c25657a8e84716262fc7dd4da59855dece2 /assets/blender/mbb/modern_japanlocomotive_windows_join.blend
parent7b090057503fa413c0a20b12423b856c3120ace1 (diff)
downloadadvtrains-95faa8f1baa68c3f6a104160d61713ade276676b.tar.gz
advtrains-95faa8f1baa68c3f6a104160d61713ade276676b.tar.bz2
advtrains-95faa8f1baa68c3f6a104160d61713ade276676b.zip
Remove debug prints of distant signalling system
Diffstat (limited to 'assets/blender/mbb/modern_japanlocomotive_windows_join.blend')
0 files changed, 0 insertions, 0 deletions
="hl slc">// _WIN32_WCE #include <winsock2.h> #include <windows.h> // CriticalSection is way faster than the alternative #define JMUTEX_CRITICALSECTION #else // using pthread #include <pthread.h> #endif // WIN32 #define ERR_JMUTEX_ALREADYINIT -1 #define ERR_JMUTEX_NOTINIT -2 #define ERR_JMUTEX_CANTCREATEMUTEX -3 class JMutex { public: JMutex(); ~JMutex(); int Init(); int Lock(); int Unlock(); bool IsInitialized() { return initialized; } private: #if (defined(WIN32) || defined(_WIN32_WCE)) #ifdef JMUTEX_CRITICALSECTION CRITICAL_SECTION mutex; #else // Use standard mutex HANDLE mutex; #endif // JMUTEX_CRITICALSECTION #else // pthread mutex pthread_mutex_t mutex; #endif // WIN32 bool initialized; }; #endif // JMUTEX_H