w.i.p changes for execsmp.
commit0b1da2125fd65effcc5857fd448cb960dd5cbd33
authorNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 13 May 2015 00:35:29 +0000 (13 00:35 +0000)
committerNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 13 May 2015 00:35:29 +0000 (13 00:35 +0000)
treeed002c59f541b016ad852259e140cb1630495e01
parent1900359959140a3463751a6a5f9406d494adf011
w.i.p changes for execsmp.
krnspinlock now takes an optional hook which is called when a lock is already held. exec uses this to inform the scheduler that tasks are spinning on a lock so that they dont prevent lower priority tasks from running (and therefore prevent them releasing the lock the higher priority task is waiting for).
protect access to scheduling lists in other public functions (TODO: clean up so they don't need to disable/enable/forbid/permit where possible)

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50649 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/exec/debug.c
rom/exec/exec_util.c
rom/exec/findtask.c
rom/exec/findtaskbypid.c
rom/exec/remtask.c
rom/exec/service.c
rom/exec/settaskpri.c
rom/exec/signal.c
rom/kernel/kernel.conf
rom/kernel/spinlock.c