summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
authorrpj <rpj>1998-07-26 14:49:34 +0000
committerrpj <rpj>1998-07-26 14:49:34 +0000
commit537fe68bc5ca2dd75f4f54146a50a39c5b55b8e3 (patch)
tree25adc4da03898e307d43f8dcc3450b3b5260c867 /implement.h
parent779359d2cf050c2885a05b81774b87b82466a471 (diff)
Mon Jul 27 00:20:37 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* private.c (_pthread_delete_thread_entry): Destroy the thread entry attribute object before deleting the thread entry itself. * attr.c (pthread_attr_init): Initialise cancel_pending = FALSE. (pthread_attr_setdetachstate): Rename "detached" to "detachedstate". (pthread_attr_getdetachstate): Ditto. * exit.c (_pthread_exit): Fix incorrect check for detachedstate. * implement.h (_pthread_call_t): Remove env member.
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/implement.h b/implement.h
index 5cc0de6..e830293 100644
--- a/implement.h
+++ b/implement.h
@@ -20,7 +20,7 @@
enum { _PTHREAD_HANDLER_POP_LIFO, _PTHREAD_HANDLER_POP_FIFO };
/* Special value to mark attribute objects as valid. */
-#define _PTHREAD_ATTR_INVALID 0xC0FFEE
+#define _PTHREAD_ATTR_VALID 0xC0FFEE
/* General description of a handler function on a stack. */
typedef struct _pthread_handler_node _pthread_handler_node_t;
@@ -35,7 +35,6 @@ struct _pthread_handler_node {
typedef struct {
unsigned (*routine)(void *);
void * arg;
- jmpbuf env;
} _pthread_call_t;
/* Macro to return the address of the thread entry of the calling thread. */