signal: change sig_waitTimeoutSignal() to accept custom timeout hook
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 14 Mar 2011 12:01:10 +0000 (12:01 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 14 Mar 2011 12:01:10 +0000 (12:01 +0000)
commit896165767324f541dc0598d41504076632abae61
tree0f0a4ad05b19e08be4d0fe3680d5350c1c68c688
parent505448bf486b73df77f0fc8a3b596f35657602b5
signal: change sig_waitTimeoutSignal() to accept custom timeout hook

Change sig_waitTimeoutSignal() to accept a function hook to be called
when the timeout expires, instead of always using the default timeout
callback.

This makes possible to specify custom timeout actions, i.e. changing the
state of other dependent or derived objects (e.g., events).

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