History log of /openbsd-src/regress/sys/kern/pipe/test-kqueue.c (Results 1 – 6 of 6)
Revision Date Author Comments
# d2aeeac5 14-Oct-2023 anton <anton@openbsd.org>

Suppress harmless EPIPE errors during test shutdown.


# dcab9128 10-Oct-2023 anton <anton@openbsd.org>

Fix timing issue in which one thread could be left hanging in
pipe_read().


# 065bbfdc 22-Oct-2021 anton <anton@openbsd.org>

knf nits


# fc11865a 08-May-2021 anton <anton@openbsd.org>

Fix a race in the kqueue-read test. If the writer thread managed to fill
up the pipe buffer, it will hang in write(2) waiting for the pipe to
become writeable again. While doing so, it cannot observe

Fix a race in the kqueue-read test. If the writer thread managed to fill
up the pipe buffer, it will hang in write(2) waiting for the pipe to
become writeable again. While doing so, it cannot observe that the
kqueue thread as already finished implying that ctx_thread_alive() would
return false, meaning no further writes are wanted.

Therefore open the pipe in non blocking mode and just ignore EAGAIN
errors while writing.

show more ...


# cfefc492 24-Dec-2019 anton <anton@openbsd.org>

simplify assertions


# e22febff 24-Dec-2019 anton <anton@openbsd.org>

add pipe kqueue tests