|
Posted by Bernd on January 7, 2005, 11:05 pm
Please log in for more thread options
Hi,
multiple lock-down and lock-up sequences causes a memory leak. Trying
this (in perl 5.8.3):
use threads;
use Thread::Semaphore;
my $lock = new Thread::Semaphore;
while (1) {
$lock->down;
$lock->up;
}
But this problem only occurs with the leading "use threads".
Any idea about this?
Bernd
|