Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Score: Perl 1, Ruby 0

by BrowserUk (Patriarch)
on Feb 21, 2006 at 07:33 UTC ( [id://531636]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    t1 = Thread.new {
        output = [];
    ...
    t1.join
    got = t1["output"]
    got.each{|line| puts line}
    
  2. or download this
    use threads;
    @t = map{ 
    ...
            } 
        ) or die "threads->create failed $^E" 
    } 1 .. 1000;
    
  3. or download this
    C:\test>maxthreads.pl
    1
    ...
    117
    threads->create failed Not enough storage is available to process this
    + command at C:\test\maxthreads.pl li
    A thread exited while 120 threads were running.
    
  4. or download this
    PERL_SET_CONTEXT(aTHX)
    PERL_SET_CONTEXT((aTHX = PL_sharedsv_space))
    ...
    (PL_current_context = t)
    PERL_SET_THX(t)                PERL_SET_CONTEXT(t)
    PERL_SET_CONTEXT(proto_perl);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://531636]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-24 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found