iThreads Mailing List

pudge on 2001-04-25T13:07:09

He said he would send in a submission to use Perl, but did not. Nevertheless, Artur Bergman has been doing some promising work on an iThreads module, and has a perl-ithreads@perl.org mailing list set up for it.

iThreads are the new interpreter threading model, to replace the threading model introduced in perl 5.005. The only way they are currently used in perl is to emulate fork on Windows, but they can also be accessed directly from Perl, if there's a module for it ... hence Artur's work. Help him out and make this something Really Cool for everyone.


He's Done It!

Simon on 2001-04-25T14:02:24

Talking to Artur on IRC, it seems he's got iThread->create(sub {print "I am a thread"}); working, with no races detected over 100 threads, too. This is fantastically important and fantastically cool.

Re:He's Done It!

pudge on 2001-04-25T15:27:07

Indeed. After I get MacPerl 5.6/5.8/whatever released, this might become one of my priorities: getting threads working, so we can have not only forking (a la ActivePerl), but in-Perl threading.

Now if only Mac OS had better memory management ... (all you Mac OS X weenies can just shut up right now :-)

Documenting it

sky on 2001-04-26T05:45:06

I will document my struggle with iThread in my use.perl.org journal.

Re:He's Done It!

Simon on 2001-04-26T12:39:22

See, I said iThreads was the new Mac threading library, and everyone thought I was joking...

Re:He's Done It!

jhi on 2001-04-27T04:26:02

So iThreads must be an evil proprietary plot of Apple! Pudge will sell us all to Jobs! :-)

Re:He's Done It!

jdavidb on 2002-09-20T13:58:43

Just look what's happened in the last year. Everyone is using ibooks now. Apparently you were right. :)

Re:He's Done It!

sky on 2001-04-27T12:07:52

Yep, it will be avaible in iThread::Lime and iThread::Orange from the start. And we are working on licensing issues with the flowerpower patterns that Apple hold copyright on.