sig_wait(): Don't call proc_shecule() with interrupts disabled
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 10 Aug 2008 19:15:28 +0000 (19:15 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 10 Aug 2008 19:15:28 +0000 (19:15 +0000)
commit03eac0b24146fe73d585c998eca4c1c2873f1acb
tree965caf3279f37940aec2ee071acfe7b6ed70fa8f
parent0022fba6d37b3cbc333804c2a281231a882de7de
sig_wait(): Don't call proc_shecule() with interrupts disabled

Loosening slg_wait() locking lets us drop the requirement for
asm_switch_context() to save and restore the processor interrupt
flag.

This patch also includes changes all over the place in proc to
harden consistency checks.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1614 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/kern/proc.c
bertos/kern/signal.c