Rich Felker
4ef9b828c1
remove cancellation points in stdio
...
commit 5816592389 added these optional
cancellation points on the basis that cancellable stdio could be
useful, to unblock threads stuck on stdio operations that will never
complete. however, the only way to ensure that cancellation can
achieve this is to violate the rules for side effects when
cancellation is acted upon, discarding knowledge of any partial data
transfer already completed. our implementation exhibited this behavior
and was thus non-conforming.
in addition to improving correctness, removing these cancellation
points moderately reduces code size, and should significantly improve
performance on i386, where sysenter/syscall instructions can be used
instead of "int $128" for non-cancellable syscalls.
2015-06-13 20:53:02 +00:00
..
2011-02-12 00:22:29 -05:00
2015-02-23 18:53:01 -05:00
2012-10-24 21:16:06 -04:00
2014-06-06 15:42:42 -04:00
2012-12-10 18:31:39 -05:00
2011-03-28 01:14:44 -04:00
2015-02-13 01:10:11 -05:00
2014-07-16 21:32:06 -04:00
2015-06-13 20:53:02 +00:00
2011-04-02 13:55:54 -04:00
2015-06-13 20:53:02 +00:00
2015-02-23 18:53:01 -05:00
2012-11-08 16:39:41 -05:00
2015-05-29 00:04:36 -04:00
2014-07-16 20:44:22 -04:00
2015-05-29 00:04:36 -04:00
2011-02-20 17:19:37 -05:00
2011-02-12 00:22:29 -05:00
2012-09-06 22:44:55 -04:00
2012-09-06 23:27:55 -04:00
2012-06-17 21:24:58 -04:00
2014-08-23 23:35:10 -04:00
2012-10-24 23:16:41 -04:00
2012-10-24 23:16:41 -04:00
2014-07-16 21:32:06 -04:00
2012-10-27 19:52:40 -04:00
2013-12-12 05:09:18 +00:00
2012-09-06 22:44:55 -04:00
2014-09-04 22:21:17 -04:00
2015-06-13 05:17:16 +00:00
2012-11-08 16:39:41 -05:00
2012-10-24 23:16:41 -04:00
2011-07-30 08:02:14 -04:00
2012-11-09 14:26:25 -05:00
2015-06-13 20:53:02 +00:00
2012-09-06 22:44:55 -04:00
2012-10-27 19:52:40 -04:00
2014-09-04 22:21:17 -04:00
2015-06-13 05:17:16 +00:00
2015-06-13 05:17:16 +00:00
2014-09-04 22:21:17 -04:00
2012-11-08 16:39:41 -05:00
2013-04-06 17:15:58 -04:00
2011-04-02 13:54:55 -04:00
2011-02-12 00:22:29 -05:00
2014-02-07 00:57:50 -05:00
2014-09-19 12:28:45 -04:00
2014-08-23 23:35:10 -04:00
2014-07-01 18:49:54 -04:00
2012-09-06 22:44:55 -04:00
2014-09-04 22:21:17 -04:00
2013-04-05 23:20:28 -07:00
2012-06-02 21:20:21 -04:00
2012-10-27 19:52:40 -04:00
2011-03-28 01:14:44 -04:00
2011-02-12 00:22:29 -05:00
2015-04-04 10:53:09 -04:00
2012-09-06 22:44:55 -04:00
2012-11-08 16:39:41 -05:00
2012-07-04 12:18:46 -04:00
2012-11-08 16:39:41 -05:00
2012-11-08 16:39:41 -05:00
2012-11-09 14:26:25 -05:00
2012-11-09 14:26:25 -05:00
2012-11-08 16:39:41 -05:00
2012-06-20 09:27:28 -04:00
2013-09-01 17:02:35 -04:00
2012-09-06 22:44:55 -04:00
2012-06-02 21:20:21 -04:00
2012-10-27 19:52:40 -04:00
2011-03-28 01:14:44 -04:00
2011-02-12 00:22:29 -05:00
2011-05-01 20:12:51 -04:00
2012-07-04 12:21:22 -04:00
2012-11-08 16:39:41 -05:00
2012-11-08 16:39:41 -05:00
2014-05-29 21:01:32 -04:00
2014-05-29 21:01:32 -04:00
2011-02-22 17:11:35 -05:00
2013-04-05 23:20:28 -07:00
2012-09-06 22:44:55 -04:00
2011-04-05 12:25:31 -04:00
2011-04-05 12:25:31 -04:00
2012-09-06 22:44:55 -04:00
2012-09-06 22:44:55 -04:00
2012-09-06 22:44:55 -04:00
2013-04-05 23:20:28 -07:00
2014-07-16 21:32:06 -04:00
2014-07-16 21:32:06 -04:00
2014-07-16 21:32:06 -04:00
2013-12-12 05:09:18 +00:00
2013-12-12 05:09:18 +00:00
2014-05-29 21:01:32 -04:00
2014-06-06 03:17:47 -04:00
2014-05-29 21:01:32 -04:00
2015-05-29 00:04:36 -04:00
2015-06-13 05:17:16 +00:00
2014-06-04 03:39:22 -04:00
2012-09-06 22:44:55 -04:00
2014-12-18 17:41:34 -05:00
2014-01-08 22:52:26 +01:00
2015-06-13 05:17:16 +00:00
2015-06-13 05:17:16 +00:00
2012-09-06 22:44:55 -04:00
2013-04-05 23:20:28 -07:00
2012-11-08 16:39:41 -05:00
2012-09-06 22:44:55 -04:00
2013-04-05 23:20:28 -07:00
2012-11-08 16:39:41 -05:00
2013-04-05 23:20:28 -07:00
2012-09-06 22:44:55 -04:00
2013-04-05 23:20:28 -07:00
2012-09-06 22:44:55 -04:00
2013-04-05 23:20:28 -07:00