diff options
author | kib <kib@FreeBSD.org> | 2012-05-26 20:03:47 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-05-26 20:03:47 +0000 |
commit | dcb105721a02f8e28a04a14f50b493dbce705c1b (patch) | |
tree | 8e9f41721fe869bf79b03cbe6b6c43e267e1514c /sys/kern/kern_thr.c | |
parent | 1339de0936399f41179e8b5d5c1bf8713eb77e0d (diff) | |
download | FreeBSD-src-dcb105721a02f8e28a04a14f50b493dbce705c1b.zip FreeBSD-src-dcb105721a02f8e28a04a14f50b493dbce705c1b.tar.gz |
Stop treating td_sigmask specially for the purposes of new thread
creation. Move it into the copied region of the struct thread.
Update some comments.
Requested by: bde
X-MFC after: never
Diffstat (limited to 'sys/kern/kern_thr.c')
-rw-r--r-- | sys/kern/kern_thr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c index ee0da02..4270b41 100644 --- a/sys/kern/kern_thr.c +++ b/sys/kern/kern_thr.c @@ -252,7 +252,6 @@ create_thread(struct thread *td, mcontext_t *ctx, PROC_LOCK(td->td_proc); td->td_proc->p_flag |= P_HADTHREADS; - newtd->td_sigmask = td->td_sigmask; thread_link(newtd, p); bcopy(p->p_comm, newtd->td_name, sizeof(newtd->td_name)); thread_lock(td); |