summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/stdio_threading/flockfile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* While almost all the libc locks are taken and released in the sameguenther6 days2-0/+84
libc call, flockfile() and ftrylockfile() can be called when single-threaded and then--while 'holding' the lock--the process can create another thread, resulting in a broken state. Have the f{lock,trylock,unlock}file() APIs *always* do real locking so the exposed state is always consistent. ok dlg@