[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- 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, Петров Александр <gmdidro@gmail.com> 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
dispose them.
--
Javier