From: Vlad GALU Date: 2006-06-04T06:51:07+09:00 Subject: Re: SizedQueue On 6/4/06, Paul Tsung wrote: > Does anyone know about threads and SizedQueue? > > I want to limit or control the number of threads created in a script. I > am not sure what is the best way to handle this. Subclass Thread, then use a class variable to hold a thread counter. Then, simply return from the constructor when the counter reaches a certain value. -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.