[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Coroutine library scheduler
- From: Jose Luis Hidalgo <joseluis.hidalgo@...>
- Date: Tue, 25 Feb 2014 15:48:45 +0100
Hi Teto,
I made one implementation, as part of a bigger C++ binding library,
but it can be used on itself:
https://code.google.com/p/slb/source/browse/include/SLB3/extra/coroutinemanager.h
This is a test where go style channels are implemented between C/lua...
https://code.google.com/p/slb/source/browse/test/example_coroutinemanager.cc
Cheers,
JLH
On Mon, Feb 24, 2014 at 12:10 PM, Teto <mattator@gmail.com> wrote:
> Hi,
>
> I am looking for a coroutine library that is able to :
> -handle dependancies between coroutines. For instance, a coroutine can
> be a child of another one, if I remove its daddy, it should die. The
> child coroutine could also block the daddy coroutine.
> -reuse these coroutines (I read it could improve performance)
>
> I've started created something like that (for a game) but I would
> prefer using a robust,well-tested implementation. Is there any or is
> it too specific ?
>
> Regards
> Matt
>
--
JLH