lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


but after fixing some code in it to work with gcc 4.5, I still can't
quite get the idea of its API. Maybe libcoroutine is my best bet for
now.

We're using PCL [1] in a current project, and it's worked great on both Linux and OS X. Haven't tested on Windows, but their website claims that it works there, too. PCL also doesn't support passing values directly in its yield function (co_call), but like others have mentioned, we just throw the value into a struct that both coroutines have access to.

[1] http://www.xmailserver.org/libpcl.html

–doug