Page MenuHomeFreeBSD

fsync: Open files in non-blocking mode
ClosedPublic

Authored by des on Fri, Dec 5, 2:34 PM.

Details

Summary

This avoids blocking forever when invoked on a fifo.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Fri, Dec 5, 2:34 PM

Ok, I guess. This is assuming nobody's going to try to assign special semantics to fsync() on a non-blocking file descriptor, but that ship has probably sailed...

This revision is now accepted and ready to land.Fri, Dec 5, 2:40 PM
This revision was automatically updated to reflect the committed changes.