Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

detached threads still warn

by pryrt (Abbot)
on Oct 07, 2016 at 15:36 UTC ( [id://1173490]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:> perl -v | head -2 | tail -1
    This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x
    +64-multi-thread
    ...
            0 running and detached
    C:> perl -Mthreads -le "async { sleep 100; }->detach ; exit;"
    C:>
    
  2. or download this
    $ perl -v | head -2 | tail -1
    This is perl, v5.8.5 built for i386-linux-thread-multi
    ...
    $ perl -Mthreads -le 'no warnings; async { sleep 100; }->detach ; exit
    +;'
    A thread exited while 2 threads were running.
    $
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1173490]
Approved by Laurent_R
Front-paged by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-23 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found