The branch, switch-to-epoll has been created
at 5b03131581b05d9f5d325e05a22e5507b6d7fc5d (commit)
- Log -----------------------------------------------------------------
commit 5b03131581b05d9f5d325e05a22e5507b6d7fc5d
Author: Gabriel Braga <gabriel.braga@xxxxxxxxxxxxx>
Date: Fri Apr 5 13:27:26 2024 +0200
Switch socket management API to epoll() (#7785)
Previously all the server and client sockets were beeing manage by
the select() API, which operates using a fixed ammount of client
sockets. This commit changes the code to adapt to the epoll() API.
This commit also could have a performance improvement due to epoll's
architecture.
Note: Major changes major changes to the timeout structure were necessary,
such as using milliseconds instead of microseconds, and different
treatment of timeout exceeded (previously a variable timeout_remaining
was used, now that needs to be calculated on the go or automaticaly
inside the epoll_wait() function calls).
Note 2: Some changes needed to be made in the tests beacuse of changes
described on the note above.
-----------------------------------------------------------------------
hooks/post-receive
--
C++ inter-process communication library
--
libt2n-git - see http://www.intra2net.com/en/developer/libt2n for details.
To unsubscribe send a mail to libt2n-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|