summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_create.c
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2004-02-18 15:05:56 +0000
committermtm <mtm@FreeBSD.org>2004-02-18 15:05:56 +0000
commit2621f285155185c0ac7b5fad9ba0ef1c8873ce24 (patch)
treecd2e10b898446191de9a5b04c01c1b2a5f62e5c7 /lib/libthr/thread/thr_create.c
parent0ebad2cb98e884d81e502635a4650cbe65a3ffe4 (diff)
downloadFreeBSD-src-2621f285155185c0ac7b5fad9ba0ef1c8873ce24.zip
FreeBSD-src-2621f285155185c0ac7b5fad9ba0ef1c8873ce24.tar.gz
Move the initialization of thread priority to a common function.
Diffstat (limited to 'lib/libthr/thread/thr_create.c')
-rw-r--r--lib/libthr/thread/thr_create.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c
index f1a6301..32ca697 100644
--- a/lib/libthr/thread/thr_create.c
+++ b/lib/libthr/thread/thr_create.c
@@ -139,7 +139,6 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr,
new_thread->base_priority = new_thread->attr.prio;
}
new_thread->active_priority = new_thread->base_priority;
- new_thread->inherited_priority = 0;
/*
* Initialise the unique id which GDB uses to
OpenPOWER on IntegriCloud