commit | 5d42e099c565c8002cf0f6fd0f29e3e6fbfdc723 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Oct 16 12:00:40 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 13:58:31 2017 +0100 |
tree | 452364d2dfec41ed01ce544916193a3e9f7cee7a | |
parent | 29f77e846bd9cad8b9984dc5304e6edcaa4f435d [diff] |
MINOR: threads/server: Add a lock to deal with insert in updates_servers list This list is used to save changes on the servers state. So when serveral threads are used, it must be locked. The changes are then applied in the sync-point. To do so, servers_update_status has be moved in the sync-point. So this is useless to lock it at this step because the sync-point is a protected area by iteself.