diff options
Diffstat (limited to 'lib/isc/win32/once.c')
| -rw-r--r-- | lib/isc/win32/once.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/isc/win32/once.c b/lib/isc/win32/once.c index 46428e4b..b38e38c4 100644 --- a/lib/isc/win32/once.c +++ b/lib/isc/win32/once.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: once.c,v 1.10.18.2 2007/06/18 23:46:32 tbox Exp $ */ +/* $Id: once.c,v 1.10 2004/03/05 05:11:58 marka Exp $ */ /* Principal Authors: DCL */ @@ -41,11 +41,8 @@ isc_once_do(isc_once_t *controller, void(*function)(void)) { } else { while (controller->status == ISC_ONCE_INIT_NEEDED) { /* - * Sleep(0) indicates that this thread - * should be suspended to allow other - * waiting threads to execute. + * Spin wait. */ - Sleep(0); } } } |
