summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-04-17 18:33:58 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-04-28 22:43:37 +0000
commit2c70efaed19379be49457069fc033d322394e29d (patch)
tree44326ffcb4dff4c0c086c6d54fb9158f3934e9f3 /lib/command.h
parent1189d95fcab50132623cb8f8c25f78ed68ec36e2 (diff)
lib: additional thread.c MT-safety work
Fixes a few insufficient critical sections. Adds back locking for thread_cancel(), since while thread_cancel() is only safe to call from the pthread which owns the thread master due to races involving thread_fetch() modifying thread master's ready queue, we still need mutual exclusion here for all of the other public thread.c functions to maintain their MT-safety. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.h')
0 files changed, 0 insertions, 0 deletions