diff options
author | rpj <rpj> | 1998-07-30 14:08:13 +0000 |
---|---|---|
committer | rpj <rpj> | 1998-07-30 14:08:13 +0000 |
commit | 1d10646cae6e5bf0c6f96b43b7766096be16a9e6 (patch) | |
tree | 2e4f4e1d8a22ae63d5ce323f29937d1535e90fe1 /implement.h | |
parent | 94cfb27da3941eea2b20867eacc09a5b91168438 (diff) |
Fri Jul 31 00:05:45 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* implement.h (_PTHREAD_THIS): Remove - no longer required.
(_PTHREAD_STACK): Use pthread_self() instead of _PTHREAD_THIS.
Diffstat (limited to 'implement.h')
-rw-r--r-- | implement.h | 5 |
1 files changed, 1 insertions, 4 deletions
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. */ |