Difference between revisions of "Coroutine (API)"

From ComputerCraft Wiki
Jump to: navigation, search
Line 1: Line 1:
Coroutine is a default Lua 5.1 API defined [http://www.lua.org/manual/5.1/manual.html#5.2 here]. As of ComputerCraft 1.3, this API suffers from the problem of potentially spawning Java threads that live forever; therefore, use of coroutines should be minimized. This is fixed in ComputerCraft 1.32+, though. Please list any non-working functions here.
+
:{| border="1" class="wikitable"
 +
| '''Bug'''
 +
From ComputerCraft 1.3 this API suffers from the problem of potentially spawning Java threads that live forever therefore, use of coroutines should be minimized. This is fixed in ComputerCraft 1.32+, though.
 +
|}
  
List of non-working functions:
+
Coroutine is a default Lua 5.1 API defined [http://www.lua.org/manual/5.1/manual.html#5.2 here].
 +
Please list any non-working functions here.
 +
 
 +
=List of non-working functions=
  
 
[[Category:APIs]]
 
[[Category:APIs]]

Revision as of 11:54, 29 May 2012

Bug

From ComputerCraft 1.3 this API suffers from the problem of potentially spawning Java threads that live forever therefore, use of coroutines should be minimized. This is fixed in ComputerCraft 1.32+, though.

Coroutine is a default Lua 5.1 API defined here. Please list any non-working functions here.

List of non-working functions