mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
RT signal may not be a good idea
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@975 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7f5d44e0ff
commit
a1968d7196
1 changed files with 1 additions and 2 deletions
3
vl.c
3
vl.c
|
@ -921,8 +921,7 @@ static void init_timers(void)
|
|||
setitimer(ITIMER_REAL, &itv, NULL);
|
||||
|
||||
/* use the RTC */
|
||||
sigaction(SIGRTMIN, &act, NULL);
|
||||
fcntl(rtc_fd, F_SETSIG, SIGRTMIN);
|
||||
sigaction(SIGIO, &act, NULL);
|
||||
fcntl(rtc_fd, F_SETFL, O_ASYNC);
|
||||
fcntl(rtc_fd, F_SETOWN, getpid());
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue