Skip to content
Snippets Groups Projects
Commit db571962 authored by Takuya ASADA's avatar Takuya ASADA Committed by Avi Kivity
Browse files

libc: Move alarm implementation to itimer class, Add setitimer/getitimer


Move static variables for alarm and related function to itimer class.
itimer class offers interfaces to implement setitimer/getitimer, so added setitimer/getitimer.
Now alarm rewrite as a just a wrapper function to call setitimer.

Signed-off-by: default avatarTakuya ASADA <syuu@cloudius-systems.com>
Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
parent e684d88a
No related branches found
No related tags found
No related merge requests found
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