didn't quite work.
p4raw-id: //depot/perl@17518
package Thread::Queue;
use Thread qw(cond_wait cond_broadcast);
+use vars qw($VERSION);
+$VERSION = '1.00';
+
=head1 NAME
Thread::Queue - thread-safe queues (5.005-threads)
package Thread::Semaphore;
use Thread qw(cond_wait cond_broadcast);
+use vars qw($VERSION);
+$VERSION = '1.00';
+
=head1 NAME
Thread::Semaphore - thread-safe semaphores (5.005-threads)
# modules if so needed.
if ($Config{use5005threads}) {
for my $m (qw(Queue Semaphore)) {
- copy("ext/Thread/$m.pmx", "$installprivlib/Thread/$m.pm")
+ my $t = "$installprivlib/Thread/$m.pm";
+ unlink $t;
+ copy("ext/Thread/$m.pmx", $t);
+ chmod(0444, $t);
}
}