diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-07-02 00:40:07 +0000 | 
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-07-02 00:40:07 +0000 | 
| commit | cd28f17da2f89e4e3f6dc3874912ac7e1947cfc0 (patch) | |
| tree | 9c8400ddc4d640b6eb03f81ba5983718f183b0e0 /lib/libthr/thread/thr_create.c | |
| parent | c2589102b04e7bd387c80900ab10977ab56c1f1e (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_create.c')
| -rw-r--r-- | lib/libthr/thread/thr_create.c | 9 | 
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c index 8eff86172e21..a6193327a6e4 100644 --- a/lib/libthr/thread/thr_create.c +++ b/lib/libthr/thread/thr_create.c @@ -43,11 +43,8 @@  #include "thr_private.h"  #include "libc_private.h" -static u_int64_t next_uniqueid = 1; -  #define OFF(f)	offsetof(struct pthread, f)  int _thread_next_offset			= OFF(tle.tqe_next); -int _thread_uniqueid_offset		= OFF(uniqueid);  int _thread_name_offset			= OFF(name);  int _thread_ctx_offset			= OFF(ctx);  #undef OFF @@ -137,12 +134,6 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr,  	}  	new_thread->active_priority = new_thread->base_priority; -	/* -	 * Initialise the unique id which GDB uses to -	 * track threads. -	 */ -	new_thread->uniqueid = next_uniqueid++; -  	THREAD_LIST_LOCK;  	/* Add the thread to the linked list of all threads: */  | 
