diff options
Diffstat (limited to 'lib/tasklib.lua')
-rw-r--r-- | lib/tasklib.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tasklib.lua b/lib/tasklib.lua index dbd2284..a209ef3 100644 --- a/lib/tasklib.lua +++ b/lib/tasklib.lua @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: tasklib.lua,v 1.7 2008-02-17 00:48:38 pixel Exp $ */ +/* $Id: tasklib.lua,v 1.8 2008-02-18 09:55:08 pixel Exp $ */ ]]-- @@ -85,3 +85,7 @@ end function Command(command, ...) return coroutine.yield("Command", command, unpack(arg)) end + +function TaskYield() + return coroutine.yield("Yield") +end |