diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-04-08 14:44:36 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-04-08 14:44:36 +0000 |
commit | 18383f90f87563933c90f020cf73e68872248079 (patch) | |
tree | 5f3fea5a2957ff63ff801056de3d615ff40f5245 /src/compat.c | |
parent | 0e7cd3403bfdec5e7c0774c92323c412d54fbe89 (diff) |
# BUILD : 1.7.14 (1026) # BUGS : 487 488 489 # NOTES : some fixes.
git-svn-id: svn://svn.anope.org/anope/trunk@1026 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@750 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/compat.c')
-rw-r--r-- | src/compat.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/compat.c b/src/compat.c index a45483542..d7fdd63ff 100644 --- a/src/compat.c +++ b/src/compat.c @@ -224,25 +224,5 @@ char *strsignal(int signum) } #endif -#ifdef _WIN32 - -#ifdef USE_THREADS -/* Simulate pthread conditional variable waiting */ -int ano_cond_wait(ano_cond_t cond, ano_mutex_t mutex) -{ - ReleaseMutex(mutex); - if (WaitForSingleObject(cond, INFINITE) == WAIT_FAILED) - return 1; - if (WaitForSingleObject(mutex, INFINITE) == WAIT_FAILED) - return 1; - return 0; -} - -/* Used for the cleanup functions */ -ano_thread_start __declspec(thread) cleanup_func = NULL; - -#endif - -#endif /*************************************************************************/ |