wrote in message news:c943b1fd-8c0c-4c22-ba8c-fb72fbd52805@googlegroups.com... Le vendredi 13 mars 2015 09:14:52 UTC+1, Dmitry A. Kazakov a écrit : >> You could add a wakeup event to prevent busy waiting. An alternative >> would >> be a waitable jobs queue. >Wouldn't a delay instruction help ? Of course. A "slow busy wait" is good enough in almost all circumstances (typically, the machine isn't doing anything important anyway during that the minimal time used). It certainly beats distorting one's design. Of course, if there is a queue of jobs anyway, it makes sense to arrange that to be blocking so you end up waiting on that. But then of course you need a "stop" job else the supervisor ends up waiting forever. Randy.