Re: High 50us+ latencies in the process signal handling path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--
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

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux