que estoy viendo tal código en nginx:¿Cuál es la diferencia entre async y nonblocking en unix socket?
if(fcntl(ngx_processes[s].channel[0], F_SETFL, fcntl(s, F_GETFL) | O_NONBLOCK) == -1) {
...
if (ioctl(ngx_processes[s].channel[0], FIOASYNC, &on) == -1) {
...
alguien me puede decir cuál es la diferencia entre fcntl(s, F_SETFL, fcntl(s, F_GETFL) | O_NONBLOCK)
y ioctl(s, FIOASYNC, &on)
, ¿no async
y nonblocking
lo mismo ??
+1 su serie de preguntas me ha enseñado a mantenerse alejado de nginx. :-) –