[Installit-dev] "package manager " becomes "InstallIt"
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Thu Sep 8 17:13:31 CEST 2005
Jannis Pohlmann wrote:
>>Use kill($PID, 0) rather than /proc/$PID and you're ok. Trust me, it's
>>really not worth the trouble with fcntl()/lockf() locking. And we're not
>>developing a critical database, so if a user manages to start two
>>instances of InstallIt, then he'll run into trouble and may remember to
>>read the documentation when he uses a software next time. ;-)
>
> i tried this (it's in SVN, see Core/LockFile and i2t for the usage). It
> doesn't really work at all. What did you expect it to do?
Just checked it. Seems to work fine, except that you still use /proc
instead of kill().
> Regards,
> Jannis
Benedikt
More information about the Installit-dev
mailing list