apr icon indicating copy to clipboard operation
apr copied to clipboard

apr_file_pipe_create() - save more syscalls with pipe2()

Open notroj opened this issue 1 year ago • 0 comments

* file_io/unix/pipe.c (file_pipe_create): Use pipe2(,O_NONBLOCK) by
  default unless APR_FULL_BLOCK was used; unconditionally set the
  blocking state later. Saves two syscalls per invocation for both
  APR_READ_BLOCK and APR_WRITE_BLOCK, no [intended] functional change.

notroj avatar May 10 '24 13:05 notroj