Files
asterisk/main
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
..
2017-11-20 15:05:14 -05:00
2018-06-29 09:46:17 -06:00
2018-10-18 12:43:12 -05:00
2017-10-24 17:17:53 -04:00
2017-12-20 12:54:13 -05:00
2016-11-01 12:37:58 -05:00
2018-07-06 11:53:09 -06:00
2017-12-15 10:20:51 -05:00
2018-06-23 00:27:06 -06:00
2018-07-20 05:20:25 -06:00