We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e75230 commit eac2b9aCopy full SHA for eac2b9a
portable/ThirdParty/GCC/Posix/port.c
@@ -280,10 +280,14 @@ struct sigaction sigtick;
280
* up running on the main thread when it is resumed. */
281
itimer.it_value.tv_sec = 0;
282
itimer.it_value.tv_usec = 0;
283
+
284
+ itimer.it_interval.tv_sec = 0;
285
+ itimer.it_interval.tv_usec = 0;
286
(void)setitimer( ITIMER_REAL, &itimer, NULL );
287
288
sigtick.sa_flags = 0;
289
sigtick.sa_handler = SIG_IGN;
290
+ sigemptyset( &sigtick.sa_mask );
291
sigaction( SIGALRM, &sigtick, NULL );
292
293
/* Signal the scheduler to exit its loop. */
0 commit comments