Prev: Subtyping vs Inheritance [Was: Re: Google's Go language and "goroutines"]
Next: Subtyping vs Inheritance [Was: Re: Google's Go language and "goroutines"]
From: Helmut Giese on 23 Nov 2009 06:53 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 |