bareos: master 3ca5176e

Author Committer Branch Timestamp Parent
franku franku master 2019-11-07 11:35 master 97e52596 Pending
Changeset lib: refactor thread_list

- start only one thread at a time
- use a unique_lock to move the ownership of the list mutex
- the workerthread adds and removes himself to the list
- renamed some variables
- changed the scope of member variables
- add test-thread that finishes immediately
mod - core/src/lib/bnet_server_tcp.cc Diff File
mod - core/src/lib/thread_list.cc Diff File
mod - core/src/lib/thread_list.h Diff File
mod - core/src/stored/ndmp_tape.cc Diff File
mod - core/src/tests/thread_list.cc Diff File