summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_create.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2002-02-09 19:58:41 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2002-02-09 19:58:41 +0000
commit69c287d28883bd2e3576b568e10625bd96fa16f4 (patch)
treedc39d813fe8f056c1b1cfa1a5216fba9998c6103 /lib/libpthread/thread/thr_create.c
parentb68bb42b5c52f0d5b22a51c244aef18cc3e80624 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_create.c')
-rw-r--r--lib/libpthread/thread/thr_create.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libpthread/thread/thr_create.c b/lib/libpthread/thread/thr_create.c
index 7c52b4b41f91..70227eacda93 100644
--- a/lib/libpthread/thread/thr_create.c
+++ b/lib/libpthread/thread/thr_create.c
@@ -50,16 +50,11 @@ int _thread_next_offset = OFF(tle.tqe_next);
int _thread_uniqueid_offset = OFF(uniqueid);
int _thread_state_offset = OFF(state);
int _thread_name_offset = OFF(name);
-int _thread_ctxtype_offset = OFF(ctxtype);
int _thread_ctx_offset = OFF(ctx);
#undef OFF
int _thread_PS_RUNNING_value = PS_RUNNING;
int _thread_PS_DEAD_value = PS_DEAD;
-int _thread_CTX_JB_NOSIG_value = CTX_JB_NOSIG;
-int _thread_CTX_JB_value = CTX_JB;
-int _thread_CTX_SJB_value = CTX_SJB;
-int _thread_CTX_UC_value = CTX_UC;
__weak_reference(_pthread_create, pthread_create);
@@ -148,9 +143,6 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr,
(long)new_thread->stack + pattr->stacksize_attr
- sizeof(double));
- /* Initialize the rest of the frame: */
- new_thread->ctxtype = CTX_JB_NOSIG;
-
/* Copy the thread attributes: */
memcpy(&new_thread->attr, pattr, sizeof(struct pthread_attr));