perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Foo JH <>
Subject Writing a startup module for modperl in Win32
Date Sat, 09 Feb 2008 16:36:22 GMT
Hi all,

I've done some refactoring recently on my mp2 app (on Win32), and 
succeeded in resolving the annoying startup issue (basically, does not 
start up well).

I've documented my experience in the following url:

But for those who just want to know what did the trick, I included a 
simple mechanism to prevent the crashing during file IO:

use Thread::Semaphore;

$MyLib::sem = Thread::Semaphore->new
    if (!defined($MyLib::sem));

# do stuff here

Hope this helps


View raw message