Gossamer Forum
Home : General : Perl Programming :

Please help me! About Multi-Thread Perl

Quote Reply
Please help me! About Multi-Thread Perl
Dear Sir,

I have a question, can you help me!

How to make Multi-Thread Perl?

There have two options, select "Y", I am use default for other options.

POSIX error when "make test", Please help me! Thank you very much.

=============================================================================
Perl can be built to take advantage of threads on some systems.
To do so, Configure can be run with -Dusethreads.

Note that threading is a highly experimental feature, and
some known race conditions still remain. If you choose to try
it, be very sure to not actually deploy it for production
purposes. README.threads has more details, and is required
reading if you enable threads.

If this doesn't make any sense to you, just accept the default 'y'.
Build a threading Perl? [y]y

As of 5.5.640, Perl has two different internal threading implementations,
the 5.005 version (5005threads) and an interpreter-based version
(ithreads) that has one interpreter per thread. Both are very
experimental. This arrangement exists to help developers work out
which one is better.

If you're a casual user, you probably don't want interpreter-threads
at this time. There doesn't yet exist a way to create threads from
within Perl in this model, i.e., "use Thread;" will NOT work.
Use interpreter-based ithreads? [y]y
=============================================================================

I am using Freebsd and LinuxThreads lib(POSIX)


yours,
wac