dispatcher: sync on load management operations
authorDaniel-Constantin Mierla <miconda@gmail.com>
Tue, 19 May 2020 11:43:10 +0000 (13:43 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Tue, 19 May 2020 11:43:10 +0000 (13:43 +0200)
commitd14833d9d1ad6cc92c65e279b7dd89b3b922f129
tree5ca15cfd2ec3b9feb8e39400eafe89b86044b0cb
parentb26951c06483a0e9720b65689179541b29c938c5
dispatcher: sync on load management operations

- use locks to increment/decrement call load and get least loaded dst
- GH #2322
src/modules/dispatcher/dispatch.c