| 20 | |
| 21 | |
| 22 | static inline void CriticalSectionStart(CRITSECT_HANDLE *CritSection) |
| 23 | { |
| 24 | #ifdef _WIN_ALL |
| 25 | EnterCriticalSection(CritSection); |
| 26 | #elif defined(_UNIX) |
| 27 | pthread_mutex_lock(CritSection); |
| 28 | #endif |
| 29 | } |
| 30 | |
| 31 | |
| 32 | static inline void CriticalSectionEnd(CRITSECT_HANDLE *CritSection) |
no outgoing calls
no test coverage detected