Now I understand. That would work indeed and I will still need to loop when expecting "I'm paused because I wait to be signaled", right ?

I will rebase the patch and resubmit. Thanks.