-- On Fri, 19 Oct 2007, Michal Schmidt wrote: > > I'm looking at the source. The receiver thread runs with realtime > priority (it's created with create_fifo_thread), but the sender thread > (thread2) doesn't (create_other_thread). The sender does: > > /* Record the time just before sending the signal */ > begin = rt_gettime(); > /**** The sender can get preempted by anything right here ! ****/ Not only that, if the sender is not RT it can easily be preempted in the system call that does the signal. Which is highly likely. -- Steve > if ((ret = pthread_kill(PTHREADOF(target_thread), SIGNALNUMBER))) { > printf("pthread_kill returned %d\n", ret); > } > > Can this explain it? > > Michal > > > - To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html