On 2/13/06, Jesse Yoon <zeisu / hotmail.com> wrote:
> My solution was to get rid of SizedQueue and to use a Mutex and a
> ConditionVariable to accomplish just that. At that point I saw Caleb's
> solution and thought that starting and stopping a thead should be much
> slower than using Mutexes and Cond_Vars. To my surprise, that wasn't the
> case. Mutex mechanism was much slower than Caleb's thread switching
> solution.

A confession: I had just the tiniest peek at Jacob's entry before I
wrote that part of mine. I wasn't trying to, but my eyes did pass over
the phrase 'Thread.stop' in his code, so any credit for a clever
implementation should go to him.