From 6523585c66c04cea54df50013df8886b589847d8 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 23 Jan 2012 23:36:30 +1000 Subject: Add luaproc and LuaJIT libraries. Two versions of LuaJIT, the stable release, and the dev version. Try the dev version first, until ih fails badly. --- libraries/LuaJIT-1.1.7/jitdoc/coco.html | 132 ++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 libraries/LuaJIT-1.1.7/jitdoc/coco.html (limited to 'libraries/LuaJIT-1.1.7/jitdoc/coco.html') diff --git a/libraries/LuaJIT-1.1.7/jitdoc/coco.html b/libraries/LuaJIT-1.1.7/jitdoc/coco.html new file mode 100644 index 0000000..0ef43f1 --- /dev/null +++ b/libraries/LuaJIT-1.1.7/jitdoc/coco.html @@ -0,0 +1,132 @@ + + + +Coco + + + + + + + + +
+Lua +
+ + +
+

+Coco is a small extension to get True C Coroutine +semantics for Lua 5.1. +

+

+Coco is both available as a stand-alone release and integrated +into LuaJIT 1.x. +

+

+The stand-alone release is a patchset against the +» standard Lua 5.1.4 +distribution. There are no dependencies on LuaJIT. However LuaJIT 1.x +depends on Coco to allow yielding for JIT compiled functions. +

+

+Coco is Copyright © 2004-2011 Mike Pall. +Coco is free software, released under the +» MIT/X license +(same license as the Lua core). +

+

Features

+

+True C coroutine semantics mean you can yield from a coroutine +across a C call boundary and resume back to it. +

+

+Coco allows you to use a dedicated C stack for each coroutine. +Resuming a coroutine and yielding from a coroutine automatically switches +C stacks, too. +

+

+In particular you can now: +

+ +

+Best of all, you don't need to change your Lua or C sources +and still get the benefits. It's fully integrated into the +Lua core, but tries to minimize the required changes. +

+ +

More ...

+

+Please visit the » Download page +to fetch the current version of the stand-alone package. +

+

+Coco needs some machine-specific features — please have a look +at the Portability Requirements. +

+

+Coco also provides some upwards-compatible +API Extensions for Lua. +

+
+
+ + + -- cgit v1.1