diff options
author | raf <none@none> | 2008-03-20 14:44:26 -0700 |
---|---|---|
committer | raf <none@none> | 2008-03-20 14:44:26 -0700 |
commit | d4204c85a44d2589b9afff2c81db7044e97f2d1d (patch) | |
tree | c46b62d4b195c18f308a9612c919ac3000e2db40 /usr/src/uts/common/os/lwp.c | |
parent | 32fd284719e6d05c88b17f3b407c96e4aef0c1ee (diff) | |
download | illumos-gate-d4204c85a44d2589b9afff2c81db7044e97f2d1d.tar.gz |
PSARC 2007/661 delete sched_nice
PSARC 2008/039 POSIX scheduling interfaces
6647542 POSIX scheduling should be compatible with Solaris scheduling classes
--HG--
rename : usr/src/lib/libc/inc/rtsched.h => deleted_files/usr/src/lib/libc/inc/rtsched.h
rename : usr/src/lib/libc/port/threads/rtsched.c => deleted_files/usr/src/lib/libc/port/threads/rtsched.c
Diffstat (limited to 'usr/src/uts/common/os/lwp.c')
-rw-r--r-- | usr/src/uts/common/os/lwp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/uts/common/os/lwp.c b/usr/src/uts/common/os/lwp.c index a9f1aa2588..39ca56ac7d 100644 --- a/usr/src/uts/common/os/lwp.c +++ b/usr/src/uts/common/os/lwp.c @@ -410,6 +410,11 @@ grow: if (p != curproc || curthread->t_cid != cid) { err = CL_ENTERCLASS(t, cid, NULL, NULL, bufp); t->t_pri = pri; /* CL_ENTERCLASS may have changed it */ + /* + * We don't call schedctl_set_cidpri(t) here + * because the schedctl data is not yet set + * up for the newly-created lwp. + */ } else { t->t_clfuncs = &(sclass[cid].cl_funcs->thread); err = CL_FORK(curthread, t, bufp); |