summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
684fde0)
Fill all of the sigevent structure with zeroes before individual fields are
set. Although not strictly necessary, this keeps tools like valgrind from
complaining about passing uninitialized data, which is a good thing.
MERGE TO STABLE
# include <signal.h>
#endif
# include <signal.h>
#endif
/* Major bogosity:
*
* In the threaded RTS, we can't set the virtual timer because the
/* Major bogosity:
*
* In the threaded RTS, we can't set the virtual timer because the
+ // Keep programs like valgrind happy
+ memset(&ev, 0, sizeof(ev));
+
ev.sigev_notify = SIGEV_SIGNAL;
ev.sigev_signo = ITIMER_SIGNAL;
ev.sigev_notify = SIGEV_SIGNAL;
ev.sigev_signo = ITIMER_SIGNAL;