[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua coroutine using
- From: "Javier Guerra" <javier@...>
- Date: Mon, 27 Oct 2008 11:08:23 -0500
On Mon, Oct 27, 2008 at 10:52 AM, Петров Александр <firstname.lastname@example.org> wrote:
> The question - Is it normal to have 500...1000 coroutines in program ?
> Don't that cause system resources leak ?
no problem at all. coroutines are FAR lighter than processes or
threads, not uncommon to have tens of thousandths.
just be sure not to have any reference to an unused one, so the GC can