summaryrefslogtreecommitdiff
path: root/benchmarks/forks.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-30 00:47:59 +0000
committerMiles Bader <miles@gnu.org>1995-07-30 00:47:59 +0000
commit1d9224394499b7848ea289c9548cf0357076c7c4 (patch)
tree7c07b4c4a9e3e505f5f9c9e796640fc25be008b1 /benchmarks/forks.c
parent80b6e4488c948d1f8fdd4f8051e68e35f073013d (diff)
(connq_interrupt_sock): New function.
(connq_interrupt): New function. (connq_set_length): When shrinking the queue, actually do so, and don't leak memory. (struct connq): Add the INTERRUPT_SEQ_NUM field, used to detect interupts. (connq_listen): Detect when we get interrupted, and return EINTR. Don't lock the accepted request just to get its sock. (connq_connect): Initialize REQ before using it. (connq_request_init): Swap the arguments. (connq_listen, connq_connect, connq_interrupt, connq_set_length): Reverse the roles of the HEAD and TAIL fields, and make sure they're used correctly. (qprev): Deleted function.
Diffstat (limited to 'benchmarks/forks.c')
0 files changed, 0 insertions, 0 deletions