Sean Bright
8c312c54ed
utils: Wrap socket() and pipe() to reduce syscalls
...
Some platforms provide an implementation of socket() and pipe2() that allow the
caller to specify that the resulting file descriptors should be non-blocking.
Using these allows us to potentially elide 3 calls into 1 by avoiding extraneous
calls to fcntl() to set the O_NONBLOCK flag afterwards.
In passing, change ast_alertpipe_init() to use pipe2() directly instead of the
wrapper if it is available.
Change-Id: I3ebe654fb549587537161506c6c950f4ab298bb0
2018-12-07 08:57:02 -05:00
..
2018-01-27 08:55:25 -06:00
2018-03-06 11:23:50 -06:00
2016-03-01 09:33:17 -07:00
2017-11-20 15:02:21 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-12-07 08:57:02 -05:00
2017-11-20 15:05:14 -05:00
2018-09-20 12:06:26 -06:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-11-15 06:27:51 -05:00
2018-03-19 16:00:48 -06:00
2018-10-12 13:16:29 -04:00
2018-11-19 05:47:35 -07:00
2018-10-03 12:02:35 -04:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-10-01 09:07:07 -05:00
2017-11-15 16:06:41 -06:00
2017-03-15 17:43:54 -05:00
2018-06-19 14:13:07 -05:00
2018-11-19 05:47:35 -07:00
2017-09-06 12:41:25 -05:00
2017-12-22 09:14:07 -05:00
2018-06-01 14:24:59 -06:00
2018-02-15 15:30:35 -05:00
2018-10-19 17:32:58 -04:00
2018-10-19 17:32:58 -04:00
2018-03-07 17:02:49 -05:00
2018-11-18 14:07:56 -06:00
2018-06-29 09:46:17 -06:00
2018-11-21 09:56:07 -05:00
2018-11-21 09:56:07 -05:00
2018-11-21 09:56:07 -05:00
2016-08-24 11:02:47 -05:00
2018-12-03 17:47:06 -05:00
2017-07-24 18:46:28 +00:00
2018-10-19 17:32:58 -04:00
2018-11-21 09:56:07 -05:00
2018-11-21 09:56:07 -05:00
2018-03-10 04:33:33 -05:00
2016-04-22 16:44:04 -05:00
2017-06-08 17:36:00 +02:00
2018-11-21 09:56:07 -05:00
2018-10-18 12:43:12 -05:00
2018-11-18 14:07:56 -06:00
2016-05-31 18:07:40 -04:00
2017-12-22 09:14:07 -05:00
2015-03-26 22:19:21 +00:00
2018-03-10 04:33:33 -05:00
2018-11-21 09:56:07 -05:00
2018-06-19 11:49:24 -05:00
2015-04-23 18:26:55 +02:00
2018-10-19 17:32:58 -04:00
2018-03-10 04:33:33 -05:00
2017-05-16 14:25:01 +00:00
2017-01-17 17:08:36 -06:00
2017-01-17 17:08:36 -06:00
2018-10-19 17:32:58 -04:00
2017-11-06 16:12:12 -05:00
2017-12-22 09:14:07 -05:00
2018-10-19 17:32:58 -04:00
2018-10-02 11:24:10 -05:00
2015-04-06 17:52:13 +00:00
2017-12-22 09:14:07 -05:00
2015-04-17 15:57:10 -05:00
2017-10-24 17:17:53 -04:00
2017-09-28 15:47:55 -05:00
2018-10-03 09:34:30 -04:00
2015-03-26 22:19:21 +00:00
2018-11-21 09:56:07 -05:00
2016-09-20 08:00:14 -06:00
2017-12-20 12:54:13 -05:00
2018-09-24 18:55:59 -04:00
2017-01-24 11:23:05 -06:00
2018-05-20 13:53:19 +02:00
2018-10-03 10:16:34 -05:00
2018-10-19 11:43:28 -05:00
2018-11-19 05:47:35 -07:00
2018-03-08 12:41:53 +01:00
2016-11-14 17:02:00 -05:00
2018-02-01 12:19:08 -06:00
2017-12-22 09:14:07 -05:00
2015-03-26 22:19:21 +00:00
2017-12-19 08:52:33 -06:00
2018-11-21 09:56:07 -05:00
2015-04-17 15:57:10 -05:00
2018-11-21 09:56:07 -05:00
2018-11-21 09:56:07 -05:00
2018-11-21 09:56:07 -05:00
2018-01-01 19:17:15 -05:00
2018-03-07 17:02:49 -05:00
2016-11-01 12:37:58 -05:00
2018-11-11 09:23:04 -05:00
2018-03-15 05:27:41 -06:00
2018-03-10 04:33:33 -05:00
2018-06-19 11:46:45 -05:00
2017-02-13 10:57:16 -05:00
2016-01-05 12:09:38 -05:00
2016-01-05 12:07:43 -05:00
2016-01-05 12:06:23 -05:00
2018-01-22 12:32:37 -06:00
2018-11-21 09:56:07 -05:00
2018-10-19 17:32:58 -04:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-11-18 14:07:56 -06:00
2018-09-21 17:06:59 -05:00
2017-07-21 17:04:31 -05:00
2018-07-22 15:41:03 +00:00
2018-08-02 16:58:47 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-10-19 17:32:58 -04:00
2018-03-19 15:45:08 -06:00
2017-02-07 18:12:17 +00:00
2018-01-09 22:12:24 -05:00
2018-11-18 14:07:56 -06:00
2018-11-18 14:07:56 -06:00
2018-11-21 09:56:07 -05:00
2018-08-20 12:31:58 -05:00
2018-11-18 14:07:56 -06:00
2018-11-18 14:07:56 -06:00
2018-01-09 11:53:28 -05:00
2018-11-21 09:56:07 -05:00
2016-04-04 18:07:18 -06:00
2017-10-05 20:28:28 -05:00
2017-08-10 14:27:15 -05:00
2018-11-21 09:56:07 -05:00
2018-06-19 14:13:07 -05:00
2017-12-22 09:14:07 -05:00
2015-11-25 20:29:42 +01:00
2018-07-06 11:53:09 -06:00
2018-11-21 09:56:07 -05:00
2017-12-22 09:14:07 -05:00
2015-03-26 22:19:21 +00:00
2018-04-24 15:54:48 -05:00
2017-12-15 10:20:51 -05:00
2017-12-22 09:14:07 -05:00
2018-12-07 08:57:02 -05:00
2018-06-23 00:27:06 -06:00
2018-07-20 05:20:25 -06:00
2018-11-21 09:56:07 -05:00