DBD-Oracle
view release on metacpan or search on metacpan
t/14threads.t view on Meta::CPAN
)->join;
# TESTS: 1
is scalar(@pool), 2, 'two imp_data in pool';
#trade dbh between threads
my @thr;
my @sem;
use Thread::Semaphore;
# create locked semaphores
for my $i ( 0 .. 2 ) {
push @sem, Thread::Semaphore->new(0);
}
undef $last_session;
# 3 threads, 3 iterations
# TESTS: 9
for my $t ( 0 .. 2 ) {
$thr[$t] = threads->create(
( run in 0.503 second using v1.01-cache-2.11-cpan-49f99fa48dc )