Skip to content
Snippets Groups Projects
Commit 530d00cc authored by Dmitry Fleytman's avatar Dmitry Fleytman Committed by Pekka Enberg
Browse files

alarm: prepare for syscall interruption implementation


Move alarm cancellation logic to a separate function
cancel_alarm_ll(). This fucntion will be called on
thread destruction to avoid post-mortem alarms.

Also move alarm scheduling logic to a separate function
set_alarm_ll() to make code symmetric.

Signed-off-by: default avatarDmitry Fleytman <dmitry@daynix.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 53399b86
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment