Christopher Faulet 8d8aa0d681 MEDIUM: threads/listeners: Make listeners thread-safe
First, we use atomic operations to update jobs/totalconn/actconn variables,
listener's nbconn variable and listener's counters. Then we add a lock on
listeners to protect access to their information. And finally, listener queues
(global and per proxy) are also protected by a lock. Here, because access to
these queues are unusal, we use the same lock for all queues instead of a global
one for the global queue and a lock per proxy for others.
2017-10-31 13:58:30 +01:00
..
2017-06-02 11:06:36 +02:00
2016-12-28 12:51:51 +01:00
2015-10-12 20:58:51 +02:00
2017-04-03 09:27:49 +02:00
2017-09-11 18:59:40 +02:00