Posted on 2005-06-28 18:44:21-07 by grrrilla
IPC::Sharelite on AIX
I am having difficulty with IPC:Sharelite on AIX 5.3. I am getting fetch errors. The error is: IPC::ShareLite fetch() error: There are no child processes. Here is a bit of the code snipit:
$self->{sm_gen_class} = new IPC::ShareLite( -key => "$key1", -create => 'yes', -mode => 0777, -destroy => 'yes') or die "$! until ($val ne "") { $self->{sm_gen_class}->lock(); $val = $self->{sm_gen_class}->fetch(); if ($val eq "") { $self->{sm_gen_class}->unlock(); sleep 2; }
On Solaris the same code works without a problem. Has anyone else attempted to use IPC:Sharelite on AIX? Any information would be appreciated.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.