Commit a1968d719648b7406076f921ca6410c805b8815e

Authored by bellard
1 parent 7f5d44e0

RT signal may not be a good idea


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@975 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 2 deletions
... ... @@ -921,8 +921,7 @@ static void init_timers(void)
921 921 setitimer(ITIMER_REAL, &itv, NULL);
922 922  
923 923 /* use the RTC */
924   - sigaction(SIGRTMIN, &act, NULL);
925   - fcntl(rtc_fd, F_SETSIG, SIGRTMIN);
  924 + sigaction(SIGIO, &act, NULL);
926 925 fcntl(rtc_fd, F_SETFL, O_ASYNC);
927 926 fcntl(rtc_fd, F_SETOWN, getpid());
928 927 } else {
... ...