Lines Matching refs:msg
137 struct timer_msg *msg = (struct timer_msg *) info;
139 if (msg) {
140 raise((int) msg->signal);
141 PostThreadMessage(msg->threadid,
142 WM_NOTIFY, msg->signal, 0);
143 free(msg);
156 struct timer_msg *msg = malloc(sizeof(struct timer_msg));
157 msg->threadid = GetCurrentThreadId();
163 msg->signal = SIGALRM;
164 realtimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat);
167 msg->signal = SIGVTALRM;
168 virttimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat);
171 msg->signal = SIGPROF;
172 proftimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat);