nestable calls to thread_[state_]awake
Remove all the "if asleep then awake ..." stuff from the code by making awake/asleep calls nestable, whereas before it "awake ; awake" really meant a transition through "asleep". This self-evidently necessitates fixing those places where the old behaviour was relied on upon, but fortunately those are few. Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
7d281df24a
commit
bb7373b90d
36 changed files with 450 additions and 663 deletions
|
@ -26,6 +26,7 @@ PREPEND(srcs_ddsi "${CMAKE_CURRENT_LIST_DIR}/src"
|
|||
ddsi_iid.c
|
||||
ddsi_tkmap.c
|
||||
ddsi_vendor.c
|
||||
ddsi_threadmon.c
|
||||
q_addrset.c
|
||||
q_bitset_inlines.c
|
||||
q_bswap.c
|
||||
|
@ -47,10 +48,8 @@ PREPEND(srcs_ddsi "${CMAKE_CURRENT_LIST_DIR}/src"
|
|||
q_radmin.c
|
||||
q_receive.c
|
||||
q_security.c
|
||||
q_servicelease.c
|
||||
q_sockwaitset.c
|
||||
q_thread.c
|
||||
q_thread_inlines.c
|
||||
q_time.c
|
||||
q_transmit.c
|
||||
q_inverse_uint32_set.c
|
||||
|
@ -78,6 +77,7 @@ PREPEND(hdrs_private_ddsi "${CMAKE_CURRENT_LIST_DIR}/include/dds/ddsi"
|
|||
ddsi_iid.h
|
||||
ddsi_tkmap.h
|
||||
ddsi_vendor.h
|
||||
ddsi_threadmon.h
|
||||
q_addrset.h
|
||||
q_bitset.h
|
||||
q_bswap.h
|
||||
|
@ -105,7 +105,6 @@ PREPEND(hdrs_private_ddsi "${CMAKE_CURRENT_LIST_DIR}/include/dds/ddsi"
|
|||
q_receive.h
|
||||
q_rtps.h
|
||||
q_security.h
|
||||
q_servicelease.h
|
||||
q_sockwaitset.h
|
||||
q_static_assert.h
|
||||
q_thread.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue