diff options
author | Micael Karlberg <[email protected]> | 2019-03-04 18:14:06 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-03-06 11:23:58 +0100 |
commit | 309204fc1cc9b40bd04d8636204c9dea80c4e6b2 (patch) | |
tree | f96bbdb436998801f987a85fa682c22cf4eb4f89 /make/unexpected_use | |
parent | 49eb95319e878832cb3d6aa51a63d08d6b1b36b7 (diff) | |
download | otp-309204fc1cc9b40bd04d8636204c9dea80c4e6b2.tar.gz otp-309204fc1cc9b40bd04d8636204c9dea80c4e6b2.tar.bz2 otp-309204fc1cc9b40bd04d8636204c9dea80c4e6b2.zip |
[socket] Macro abuse of activate-next
Implemented the activate_next function and added its
"users" acceptor, writer and reader (macro abuse).
After a request (accept, write or send) has been either
successfully completed or failed, another request should
be activated. Previously only one attempt was made, which
might leave the other (waiting) requestors hanging.
Now, instead we use a 'activate-next' function that pop's
the request (accept, wrote or read) queue until success
or its empty, thereby making sure that no waiting processes
is left hanging.
OTP-15565
Diffstat (limited to 'make/unexpected_use')
0 files changed, 0 insertions, 0 deletions