[Lazarus] ChmHelpPkg: better way to show all CHMs when starting lhelp?
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Sat Jul 21 14:38:31 CEST 2012
Mark Morgan Lloyd wrote:
> I've just checked on Linux and if I have two logins the lhelp activity
> is correctly distinct. It would probably be wise if somebody checked
> this on a Windows system that allows multiple logins, i.e. "Terminal
> Server" or whatever the modern equivalent is.
There's a problem which I think will affect all unixes: if two copies of
lhelp are fired up with the same parameters, the first one that
terminates knocks out the unix-domain socket and the second one will
bomb when it tries to do the same.
The solution I've used for this in the past is to append a PID, it does
mean though that something has to look for and delete "orphans". I'd add
that my preference is to put things like this in the user's home
directory if possible, since that implicitly limits the possibility of
clashes on a multiuser system.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list