From 5ab9f5892826bb1c4e45b4dcb2692d4eb2f813f1 Mon Sep 17 00:00:00 2001 From: rpj Date: Sun, 3 Jan 1999 16:41:14 +0000 Subject: Mon Jan 4 11:23:40 1999 Ross Johnson * all: No code changes, just cleanup. - remove #if 0 /* Pre Bossom */ enclosed code. - Remove some redundant #includes. * pthread.h: Update implemented/unimplemented routines list. * Tag the bossom merge branch getting ready to merge back to main trunk. --- misc.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'misc.c') diff --git a/misc.c b/misc.c index 534f9f6..f49cd51 100644 --- a/misc.c +++ b/misc.c @@ -246,29 +246,3 @@ pthreadCancelableWait (HANDLE waitHandle) /* */ -#if 0 /* Pre Bossom */ - -pthread_t -pthread_self(void) -{ - pthread_t ret; - /* This TLS index is allocated on DLL load by dll.c */ - extern DWORD _pthread_threadID_TlsIndex; - - ret = (pthread_t) TlsGetValue(_pthread_threadID_TlsIndex); - - if (ret == 0) - { - /* FIXME: Oh no! This can't happen. */ - } - - return ret; -} - -int -pthread_equal(pthread_t t1, pthread_t t2) -{ - return (t1 == t2); -} - -#endif /* Pre Bossom */ -- cgit v1.2.3