commit | dc628a3a76907caecd653596527086d7054ce04b | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Oct 19 11:59:44 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 13:58:29 2017 +0100 |
tree | fcf465293efd29ace46484c54670fd3d0e0a7048 | |
parent | 1d17c10d8b82662be48bf9f7a4fc7df910a08d28 [diff] |
MINOR: threads: Define the sync-point inside run_poll_loop The function sync_poll_loop is called at the end of each loop inside run_poll_loop function. It is a protected area where all threads have a chance to execute tricky tasks with the warranty that no concurrent access is possible. Of course, it comes with a cost because all threads must be syncrhonized. So changes must be uncommon.