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

Re: [MacPerl] fork()



At 14.47 +0200 2000.07.13, Tinus - Martijn Houtman wrote:
>Isn't this a possibility (at least a slighlty modified piece of code) to
>eventually make MacPerl script multi-threaded?

Perhaps.  This has been discussed quite a bit in the past; I suggest a trip
to the list archives.

    http://bumppo.net/search/macperl.html

Executive summary: yes.  Lower executive summary: there are various types
of threading that can be employed, for various purposes.  The one relating
to fork() (which works now under Win32 perl, where fork() just spawns a new
interpreter thread) may work with the next version of MacPerl, currently in
development.


>And, for the makers of MacPerl i've got another question:
>
>Thanks you for making perl available for the mac, but what i don't really
>get is why MacPerl isn't multi-threaded, as the mac *is*.

As I understand it, those two facts are unrelated.  In any event, the
threading model used by perl is completely different from the one used by
any part of the OS.  As such, Matthias Neeracher has built his own
threading library.


>Will it ever be
>possible?

It will always be possible.


>If not, can i use the unix perl version on Mac OS X and how?

Yes.  Open a shell and type "perl".  Mac OS X ships with perl 5.6.

-- 
Chris Nandor       |     pudge@pobox.com      |     http://pudge.net/
Andover.Net        | chris.nandor@andover.net | http://slashcode.com/

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org