summaryrefslogtreecommitdiffstats
path: root/lib/libkse/thread/thr_join.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-04-18 05:24:10 +0000
committerjeff <jeff@FreeBSD.org>2003-04-18 05:24:10 +0000
commit556bb64555ef5aede171c8ea3372a6c814dd324d (patch)
treeecb133d4c62c45e6771dbfb1419dbbb0ba6f6ed3 /lib/libkse/thread/thr_join.c
parentf3007d8862760163521a3a4770ba7fed69e1c2bf (diff)
downloadFreeBSD-src-556bb64555ef5aede171c8ea3372a6c814dd324d.zip
FreeBSD-src-556bb64555ef5aede171c8ea3372a6c814dd324d.tar.gz
- Set the ke_cpu field in sched_add() for interrupt and realtime threads
since they are going on the current cpu and not their previously assigned cpu. - sched_runnable() should only return true in the SMP case if the other processor has more than one thread that is runnable. We can not steal curthread. - Change kseq_print() to accept the cpuid instead of a kseq pointer. This makes use of this function in ddb much easier.
Diffstat (limited to 'lib/libkse/thread/thr_join.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud