diff options
author | rpj <rpj> | 2004-11-22 08:28:15 +0000 |
---|---|---|
committer | rpj <rpj> | 2004-11-22 08:28:15 +0000 |
commit | 91f42a2d730786fba0675fd39379ac2216b95d08 (patch) | |
tree | fbcb427a6347f46208960f87f362178337ff42b6 /ptw32_reuse.c | |
parent | 21a6ce96d18908790e6e7f5144dd6c4b64d4204f (diff) |
Copyright update
Diffstat (limited to 'ptw32_reuse.c')
-rw-r--r-- | ptw32_reuse.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |