diff options
| author | David Xu <davidxu@FreeBSD.org> | 2006-12-15 11:52:01 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2006-12-15 11:52:01 +0000 |
| commit | d99f6dac14c3eb3482a788d8a181ef852a298851 (patch) | |
| tree | ea09b321c6b33b576a254a34f061222ae4c103b0 /lib/libthr/thread/thr_create.c | |
| parent | 76682b268eb53209bfc0d9f54414ad69721ad061 (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_create.c')
| -rw-r--r-- | lib/libthr/thread/thr_create.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c index 276e550bf10e..abab2123a06d 100644 --- a/lib/libthr/thread/thr_create.c +++ b/lib/libthr/thread/thr_create.c @@ -86,11 +86,6 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr, new_thread->attr.sched_policy = curthread->attr.sched_policy; } - if (_thr_scope_system > 0) - new_thread->attr.flags |= PTHREAD_SCOPE_SYSTEM; - else if (_thr_scope_system < 0) - new_thread->attr.flags &= ~PTHREAD_SCOPE_SYSTEM; - new_thread->tid = TID_TERMINATED; if (create_stack(&new_thread->attr) != 0) { |
