From 91f42a2d730786fba0675fd39379ac2216b95d08 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 22 Nov 2004 08:28:15 +0000 Subject: Copyright update --- ptw32_reuse.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ptw32_reuse.c') diff --git a/ptw32_reuse.c b/ptw32_reuse.c index 55bef8a..5cc4a53 100644 --- a/ptw32_reuse.c +++ b/ptw32_reuse.c @@ -8,7 +8,7 @@ * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom - * Copyright(C) 1999,2003 Pthreads-win32 contributors + * Copyright(C) 1999,2004 Pthreads-win32 contributors * * Contact Email: rpj@callisto.canberra.edu.au * @@ -124,7 +124,11 @@ ptw32_threadReusePush (pthread_t thread) tp->ptHandle = t; /* Bump the reuse counter now */ +#ifdef PTW32_THREAD_ID_REUSE_INCREMENT + tp->ptHandle.x += PTW32_THREAD_ID_REUSE_INCREMENT; +#else tp->ptHandle.x++; +#endif tp->prevReuse = PTW32_THREAD_REUSE_EMPTY; -- cgit v1.2.3