[lkml]   [1999]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] POSIX timers for 2.3.25

    On Mon, 8 Nov 1999 21:46:05 +0100 (CET), Robert de Vries
    <> said:

    > On Mon, 8 Nov 1999, Matthew Wilcox wrote:
    >> If this _really_ needs doing then we need a PER_NEWLINUX, change the
    >> kernel internal structures to the way you want, then translate the
    >> structures to the appropriate form for old Linux binaries whenever
    >> delivering a signal. It'll be unpleasant.

    > This _really_ needs doing, because not only RT signals issued by sigqueue
    > and the timers need this sigev_value, but also signals sent by completion
    > of asynchronous I/O and by the arrival of a message on an empty POSIX
    > message queue.

    Async IO completion signals use the same union as queued signals, so
    si_sigval is still usable. If you want the same field for timer
    signals, then change the _timer union in siginfo so that si_sigval is at
    the right place. You can't just change the queued siginfo structure,
    since that is already used by LinuxThreads.

    > The asynchronous I/O at kernel level is curently under development at
    > SGI (see and the POSIX mq_* family
    > will need it next.

    libaio-style async IO is defined in posix to use the normal queued
    signals mechanism, so si_sigval doesn't need any change for that.

    > I don't know if there are already loads of apps using RT signals out
    > there. A simple recompilation would fix them anyway.

    glibc uses them internally. No can change.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:54    [W:0.021 / U:1.524 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site