Files
asterisk/include/asterisk
Sean Bright 8a18fb81c1 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 09:04:55 -05:00
..
2015-04-11 19:43:43 -06:00
2007-12-11 14:17:29 +00:00
2017-12-20 12:40:01 -05:00
2017-12-20 12:40:01 -05:00
2013-08-22 18:52:41 +00:00
2017-12-20 12:40:01 -05:00
2017-12-20 12:40:01 -05:00
2017-05-30 15:10:20 -05:00
2018-03-19 18:00:20 -04:00
2012-08-30 14:23:28 +00:00
2018-03-19 18:00:20 -04:00
2015-06-10 12:17:02 -05:00
2015-07-07 21:31:49 -05:00
2018-04-20 12:50:03 +02:00
2015-05-19 21:11:21 -05:00
2017-12-20 12:40:01 -05:00
2016-07-22 10:09:08 +02:00
2018-10-02 12:21:31 -05:00
2018-04-17 10:30:23 -06:00
2017-12-20 12:40:01 -05:00
2018-03-22 00:33:12 -04:00
2015-05-19 21:11:21 -05:00
2011-10-11 19:06:29 +00:00
2017-05-30 15:10:20 -05:00
2015-05-19 21:11:21 -05:00
2007-12-11 22:20:22 +00:00
2007-12-11 22:20:22 +00:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:31 -05:00