Searched refs:Thread (Results 1 – 25 of 85) sorted by relevance
1234
| /mirbsd/src/gnu/usr.bin/perl/ext/Thread/ |
| D | thr5005.t | 17 use Thread 'yield'; 27 my $t = new Thread \&content,("ok 2\n","ok 3\n", 1..1000); 32 $t = new Thread sub { lock $foo; print "ok 5\n" }; 44 $ret = Thread->new(\&dorecurse, @_); 49 $t = new Thread \&dorecurse, map { "ok $_\n" } 6..10; 53 $t = new Thread \&dorecurse,"ok 11\n"; 64 $ret = Thread->new(\&islocked, shift); 69 $t = Thread->new(\&islocked, "ok 13\n", "ok 14\n"); 90 my $thr1 = new Thread \&threaded, $short, $shorte, "19"; 91 my $thr2 = new Thread \&threaded, $long, $longe, "20"; [all …]
|
| D | unsync2.tx | 9 use Thread; 37 new Thread (\&start_thread, "A"); 38 new Thread (\&start_thread, "B"); 39 #new Thread (\&start_thread, "C"); 40 #new Thread (\&start_thread, "D"); 41 #new Thread (\&start_thread, "E"); 42 #new Thread (\&start_thread, "F");
|
| D | unsync4.tx | 9 use Thread; 39 new Thread (\&start_thread, "A"); 40 new Thread (\&start_thread, "B"); 41 new Thread (\&start_thread, "C"); 42 new Thread (\&start_thread, "D"); 43 new Thread (\&start_thread, "E"); 44 new Thread (\&start_thread, "F");
|
| D | specific.tx | 9 use Thread; 11 use Thread::Specific qw(foo); 14 my $tid = Thread->self->tid; 15 my Thread::Specific $tsd = Thread::Specific::data; 24 new Thread \&count;
|
| D | list.tx | 9 use Thread qw(async); 10 use Thread::Semaphore; 12 my $sem = Thread::Semaphore->new(0); 18 my $tid = Thread->self->tid; 28 my @list = Thread->list; 29 printf "main: Thread->list returned %d threads\n", scalar(@list);
|
| D | Thread.xs | 24 remove_thread(pTHX_ Thread t) in remove_thread() 45 Thread savethread = thr; in threadstart() 55 thr = (Thread) arg; in threadstart() 83 Thread thr = (Thread) arg; in threadstart() 232 Thread savethread; in newthread() 358 MODULE = Thread PACKAGE = Thread 371 Thread t 421 Thread t 450 Thread t1 451 Thread t2 [all …]
|
| D | queue.tx | 9 use Thread; 10 use Thread::Queue; 12 $q = new Thread::Queue; 15 my $tid = Thread->self->tid; 34 Thread->new(\&reader, $i);
|
| D | Queue.pmx | 1 package Thread::Queue; 2 use Thread qw(cond_wait cond_broadcast); 9 Thread::Queue - thread-safe queues (5.005-threads) 18 doing, see the CAVEAT of the C<Thread> module. 22 use Thread::Queue; 23 my $q = new Thread::Queue; 32 A queue, as implemented by C<Thread::Queue> is a thread-safe data structure 73 L<Thread>
|
| D | unsync3.tx | 9 use Thread; 56 new Thread \&numbers; 57 new Thread \&uppercase; 58 new Thread \&lowercase;
|
| D | Semaphore.pmx | 1 package Thread::Semaphore; 2 use Thread qw(cond_wait cond_broadcast); 9 Thread::Semaphore - thread-safe semaphores (5.005-threads) 18 doing, see the CAVEAT of the C<Thread> module. 22 use Thread::Semaphore; 23 my $s = new Thread::Semaphore; 29 my $s = new Thread::Semaphore($initial_value);
|
| D | sync.tx | 9 use Thread; 62 $foo = new Thread \&start_foo; 63 $bar = new Thread \&start_bar; 64 $baz = new Thread \&start_baz;
|
| D | sync2.tx | 9 use Thread; 69 $foo = new Thread \&start_a; 70 $bar = new Thread \&start_b; 71 $baz = new Thread \&start_c;
|
| D | unsync.tx | 9 use Thread; 43 $foo = new Thread \&start_foo; 44 $bar = new Thread \&start_bar;
|
| D | join2.tx | 9 use Thread; 16 $t = new Thread \&foo, qw(foo bar baz);
|
| D | join.tx | 9 use Thread; 16 $t = new Thread \&foo, qw(foo bar baz);
|
| D | lock.tx | 9 use Thread; 34 new Thread \&worker, $t;
|
| D | create.tx | 9 use Thread 'async'; 29 $t = new Thread \&start_here, qw(foo bar baz);
|
| D | io.tx | 9 use Thread; 36 $r = new Thread \&counter;
|
| /mirbsd/src/gnu/usr.bin/perl/pod/ |
| D | perlothrtut.pod | 20 =head1 What Is A Thread Anyway? 204 =head1 Thread Basics 206 The core Thread module provides the basic functions you need to write 209 that, we'll go over some of the features of the Thread module that 212 =head2 Basic Thread Support 214 Thread support is a Perl compile-time option-it's something that's 254 The Thread package provides the tools you need to create new 256 it; use Thread imports all the pieces you need to create basic 261 use Thread; 263 $thr = new Thread \&sub1; [all …]
|
| D | perlthrtut.pod | 35 =head1 What Is A Thread Anyway? 130 =head1 Thread-Safe Modules 157 See also L</"Thread-Safety of System Libraries">. 159 =head1 Thread Basics 167 =head2 Basic Thread Support 169 Thread support is a Perl compile-time option - it's something that's 259 =head2 Waiting For A Thread To Exit 270 print "Thread returned @ReturnData"; 283 =head2 Ignoring A Thread 373 =head2 Thread Pitfalls: Races [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/lib/Carp/ |
| D | Heavy.pm | 136 if (defined &Thread::tid) { 137 my $tid = Thread->self->tid; 157 if (defined &Thread::tid) { 158 my $tid = Thread->self->tid;
|
| /mirbsd/src/gnu/usr.bin/perl/ext/Thread/Thread/ |
| D | Signal.pm | 1 package Thread::Signal; 2 use Thread qw(async);
|
| /mirbsd/src/gnu/usr.bin/perl/lib/ |
| D | Thread.pm | 1 package Thread; package 291 return Thread->new($_[0]);
|
| /mirbsd/src/gnu/usr.bin/perl/lib/Thread/ |
| D | Queue.t | 15 use Thread::Queue; 17 my $q = new Thread::Queue;
|
| /mirbsd/src/gnu/usr.bin/perl/ |
| D | Changes5.005 | 185 a la C<Thread->new($foo, 1..1000)> 187 ! ext/Thread/Thread.xs t/lib/thread.t 2131 before Thread->new() got around to creating the Thread object; 2144 ! ext/POSIX/POSIX.xs ext/Thread/Thread.xs ext/attrs/attrs.xs 2507 ! ext/Thread/Thread.xs 2569 ! ext/Thread/Thread.xs op.c perl.h util.c 2935 !> ext/Thread/create.t 3080 Subject: Thread::cond_wait bug in 5.005.51 causes deadlock 3082 ! ext/Thread/Thread.xs 3858 ! ext/B/B/Bytecode.pm ext/Thread/Thread/Specific.pm [all …]
|
1234