5 use threads
; # ('exit' => 'threads_only');
8 my $thr = threads
->create(sub {
20 my $thr = threads
->create(sub {
22 print("thread is dying\n");
26 print("new thread\n");
27 getprint
('http://192.168.2.1:2/');
28 print("thread end\n");
31 $thr->kill('SIGKILL');
32 print("killed thread");
This page took 0.407704 seconds and 4 git commands to generate.