diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | implement.h | 5 | 
2 files changed, 6 insertions, 4 deletions
| @@ -1,3 +1,8 @@ +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. +  Thu Jul 30 23:12:45 1998  Ross Johnson  <rpj@ixobrychus.canberra.edu.au>  	* implement.h: Remove _pthread_find_entry() prototype. 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. */ | 
