Any ideas?hartman@ds0207:~/pfmArena> perl test2.pl Bogus Parallel::Queue: "fork" and "thread" are exclusive at test2.pl l +ine 17 hartman@ds0207:~/pfmArena> perl -e '@ARGV=("test2.pl"); while (<>) {di +e $_ if $. == 17}' my $mgr = Parallel::Queue->construct( 'thread' ); hartman@ds0207:~/pfmArena> hartman@ds0207:~/pfmArena> perl -V | grep -i thread osname=linux, osvers=2.6.16, archname=i586-linux-thread-multi config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusr +binperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=tr +ue -Doptimize=-O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D +_FORTIFY_SOURCE=2 -g -Wall -pipe' usethreads=define use5005threads=undef useithreads=define usemulti +plicity=define cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS +-DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement +-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGI +NG -fno-strict-aliasing -pipe -Wdeclaration-after-statement' libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E - +Wl,-rpath,/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE' PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREAD +S /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi hartman@ds0207:~/pfmArena> perl -V | grep -i ithread usethreads=define use5005threads=undef useithreads=define usemulti +plicity=define PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREAD +S hartman@ds0207:~/pfmArena>
In reply to Re^2: using parallel processing to concatenate a string, where order of concatenation doesn't matter
by tphyahoo
in thread using parallel processing to concatenate a string, where order of concatenation doesn't matter
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |