[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Interrupting lua execution
- From: "Chris" <jlsfjs@...>
- Date: Tue, 12 Nov 2002 12:39:05 +0100
If presume that by coroutine (you and Luiz Henrique ) are talking about
cooperative multitasking ? The way it was implemented in the module
language...
Can be done for the lua VM but will not work for the C++ calls issued by the
lua vm.
In a seperate thread both problems are handled (if I enough skilled do to it
well, and that's the point).
Will investigate the link, thank you.
Chris
----- Original Message -----
From: <lua-l@yahoogroups.com>
To: <lua-l@yahoogroups.com>
Sent: Tuesday, November 12, 2002 12:16 PM
Subject: [lua-l] Digest Number 906
Message: 4
Date: Mon, 11 Nov 2002 22:08:26 -0000
From: "rodhydeuk" <rodhydeuk@yahoo.co.uk>
Subject: Re: Interrupting lua execution
Regarding examples of threading with pthreads, take a look at this
URL for an example of a synchronization subroutine using pthreads.
This is where I started from.
http://publib.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genpr
ogc/condition_variables.htm#D3A449E901manu
Coroutines might do the trick, but I haven't investigated them yet
as lua only came into the picture when I started looking for a
scripting language for my application.
--- Rod
--- In lua-l@y..., "Chris" <jlsfjs@y...> wrote:
> Ahem... Don't sure to be clear (may be a small test app could be
usefull)
________________________________________________________________________
________________________________________________________________________
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com