From 1d10646cae6e5bf0c6f96b43b7766096be16a9e6 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 30 Jul 1998 14:08:13 +0000 Subject: Fri Jul 31 00:05:45 1998 Ross Johnson * implement.h (_PTHREAD_THIS): Remove - no longer required. (_PTHREAD_STACK): Use pthread_self() instead of _PTHREAD_THIS. --- implement.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'implement.h') diff --git a/implement.h b/implement.h index ba8db6e..9e84942 100644 --- a/implement.h +++ b/implement.h @@ -46,12 +46,9 @@ typedef struct { void * arg; } _pthread_call_t; -/* Macro to return the address of the thread entry of the calling thread. */ -#define _PTHREAD_THIS (_pthread_find_thread_entry(pthread_this())) - /* Macro to compute the address of a given handler stack. */ #define _PTHREAD_STACK(stack) \ - ((_pthread_handler_node_t *) &(_PTHREAD_THIS)->cleanupstack + stack); + ((_pthread_handler_node_t *) &(pthread_self())->cleanupstack + stack); /* Macro to compute the table index of a thread entry from it's entry address. */ -- cgit v1.2.3