lua-users home
lua-l archive

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

Was reading over the documentation on lanes and realized the message-passing implementation I had would work for that too. So I added an API (well two Apis, one on the C side and one on the Lua side that can both do the same thing) to create separate threads of execution and message between them. This includes spawning/suspending/resuming remote tasks.

Tuna still allows full cooperative multi-tasking inside each OS thread, with pooled/shared stacks intended to run tens of thousands of individual tasks quickly and efficiently. Allowing intuitive yield/resume mechanics from C or Lua transparently, and without the use of coroutines.

For lots more info and the source: Feel free to msg me with any questions/concerns/feedback/mocking laughter.