Dan Sugalski <[EMAIL PROTECTED]> wrote:
> At 4:30 PM +0100 12/17/03, Leopold Toetsch wrote:
>> getinterp P2
>> find_method P0, P2, "thread"
>> find_global P6, "_foo"
>> clone P5, P2
>> invoke # start the thread
> I think I'd like to start new threads a bit differently, at lea
At 4:30 PM +0100 12/17/03, Leopold Toetsch wrote:
getinterp P2
find_method P0, P2, "thread"
find_global P6, "_foo"
clone P5, P2
invoke # start the thread
I think I'd like to start new threads a bit differently, at least
much more explicitly than an invoke. Invoke on an int
getinterp P2
find_method P0, P2, "thread"
find_global P6, "_foo"
clone P5, P2
invoke # start the thread
This little piece of code runs the subroutine "_foo" in a separate
thread inside interpreter P5.
There are of course a lot of things missing, ParrotInterpreter::clone