mirror of https://github.com/pvnis/srsRAN_4G.git
thread_pool: fix concurrent access of state variable
the thread workers need access to their current state to exit properly when they are set to state STOP. However, since the state is kept in a std::vector for all workers, it seems more appropiate to add a per-thread running variable rather then mutexing the entire vector.master
parent
66770a57e3
commit
f1e6a975de
Loading…
Reference in New Issue