forked from enlightenment/efl
parent
4497367d7f
commit
1974702021
|
@ -417,8 +417,7 @@ static DWORD _main_thread;
|
|||
|
||||
static HANDLE _log_mutex = NULL;
|
||||
|
||||
# define LOG_LOCK() if(_threads_enabled) WaitForSingleObject(_log_mutex, \
|
||||
INFINITE)
|
||||
# define LOG_LOCK() if(_threads_enabled) WaitForSingleObject(_log_mutex, INFINITE)
|
||||
# define LOG_UNLOCK() if(_threads_enabled) ReleaseMutex(_log_mutex)
|
||||
# define INIT() ((_log_mutex = CreateMutex(NULL, FALSE, NULL)) ? 1 : 0)
|
||||
# define SHUTDOWN() if (_log_mutex) CloseHandle(_log_mutex)
|
||||
|
|
Loading…
Reference in New Issue