diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-02-02 00:11:29 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-02-02 00:11:29 -0500 |
commit | 58165923890865a6ac042fafce13f440ee986fd9 (patch) | |
tree | 1a2e608393566ba3184e95f224cbd5a538e275a2 /src/time/strptime.c | |
parent | 4948a24df21c1e80bedc1f302547c9cb26e4dbfe (diff) | |
download | musl-58165923890865a6ac042fafce13f440ee986fd9.tar.gz musl-58165923890865a6ac042fafce13f440ee986fd9.tar.xz musl-58165923890865a6ac042fafce13f440ee986fd9.zip |
make stdio open, read, and write operations cancellation points
it should be noted that only the actual underlying buffer flush and fill operations are cancellable, not reads from or writes to the buffer. this behavior is compatible with POSIX, which makes all cancellation points in stdio optional, and it achieves the goal of allowing cancellation of a thread that's "stuck" on IO (due to a non-responsive socket/pipe peer, slow/stuck hardware, etc.) without imposing any measurable performance cost.
Diffstat (limited to 'src/time/strptime.c')
0 files changed, 0 insertions, 0 deletions