dsched - Periph.: call dsched_exit on thread exit
authorAlex Hornung <ahornung@gmail.com>
Mon, 19 Apr 2010 16:39:16 +0000 (16:39 +0000)
committerAlex Hornung <ahornung@gmail.com>
Mon, 19 Apr 2010 19:01:23 +0000 (19:01 +0000)
commitf8abf63c2915f73cda605e7f5a04a6d2605f0733
tree8a32a4b30754d37d80c94b40b8b302c1510365dd
parent2f0cde656518713be0add506e489144b57a5a0e3
dsched - Periph.: call dsched_exit on thread exit

* The previous location of the call to dsched_exit was not right and did
  not allow the use of lockmgr.

* We now call dsched_exit before the thread is completely killed and
  descheduled as to avoid any problems.
sys/kern/lwkt_thread.c
sys/platform/pc32/i386/vm_machdep.c
sys/platform/pc64/x86_64/vm_machdep.c
sys/platform/vkernel/i386/vm_machdep.c
sys/platform/vkernel64/x86_64/vm_machdep.c