Workhorse: making the sleep flag thread/rt safe(r)
Workhorse: making the sleep flag thread/rt safe(r)