Kernel/threads - Fix edge case where AddActive is called with the current thread
authorJohn Hodge <[email protected]>
Sun, 9 Feb 2014 01:37:38 +0000 (09:37 +0800)
committerJohn Hodge <[email protected]>
Sun, 9 Feb 2014 01:37:38 +0000 (09:37 +0800)
commitfa69f30b715df80fed85e7a976deeb3eeea2ef28
tree4975d7a18326cb42b28811f42e60a187805d578a
parente36c8d4a404c402d4c3d96a2b0b147368e881603
Kernel/threads - Fix edge case where AddActive is called with the current thread

- Can happen if an IRQ which signals the current thread fires between SHORTREL
  and Proc_Reschedule
- Also cleaned up scheduling code a little
KernelLand/Kernel/threads.c

UCC git Repository :: git.ucc.asn.au