From: Helmut Giese on
Hi Tom,
>This is very inefficient. You should be using condition variables to
>wait. It is possible that some thread may never get a turn.
thanks for pointing me to condition variables. I had read about them
when glossing over the man page, but later failed to make the
connection.
This was an easy one - nice, no more polling.
Best regards
Helmut Giese