[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Tuna 0.4.0 Now with Preemptive (lanes) functionality as well as Cooperative from C or Lua
- From: curt <curt@...>
- Date: Fri, 03 Feb 2012 23:19:46 -0500
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: http://northarc.com/tuna Feel free to
msg me with any questions/concerns/feedback/mocking laughter.
-Curt