Commit a1968d71 authored by bellard's avatar bellard
Browse files

RT signal may not be a good idea

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent 7f5d44e0
......@@ -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 {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment