STATE_RUNNING
if (state == STATE_RUNNING)
if (state == STATE_RUNNING) {
if (atomic_read(&subs->state) != STATE_RUNNING)