• David Howells's avatar
    pipe: Add notification lossage handling · e7d553d6
    David Howells authored
    Add handling for loss of notifications by having read() insert a
    loss-notification message after it has read the pipe buffer that was last
    in the ring when the loss occurred.
    
    Lossage can come about either by running out of notification descriptors or
    by running out of space in the pipe ring.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    e7d553d6
watch_test.c 3.85 KB