lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

If presume that by coroutine (you and Luiz Henrique ) are talking about
cooperative multitasking ? The way it was implemented in the module
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.


----- Original Message -----
From: <>
To: <>
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" <>
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.

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


Your use of Yahoo! Groups is subject to

Do You Yahoo!? -- Une adresse gratuite et en français !
Yahoo! Mail :