ntdll: Remove no longer used interlocked_dec_if_nonzero().

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-06-10 11:07:52 -04:00 committed by Alexandre Julliard
parent 9445bed298
commit d741296676
1 changed files with 0 additions and 12 deletions

View File

@ -69,18 +69,6 @@ static const LARGE_INTEGER zero_timeout;
#define TICKSPERSEC 10000000
static inline int interlocked_dec_if_nonzero( int *dest )
{
int val, tmp;
for (val = *dest;; val = tmp)
{
if (!val || (tmp = interlocked_cmpxchg( dest, val - 1, val )) == val)
break;
}
return val;
}
#ifdef __linux__
static int wait_op = 128; /*FUTEX_WAIT|FUTEX_PRIVATE_FLAG*/