CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2012/03/19 11:41:57
Added files: regress/lib/libpthread/blocked_fifo: Makefile blocked_fifo.c Log message: Add a (failing) test for a deadlock with fifos and threads. The ``sleep until we have a writer'' behaviour of an open() on a fifo does so with the file descriptor table locked, so if we are waiting for another thread to be our writer we will hang forever. Found this using zotero and firefox. ok fgsch@