Home GnuPG
Diffusion GpgEX da8aeee958e8

Lock the spawning of a new UI server.
da8aeee958e8Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Lock the spawning of a new UI server.

* src/exechelp.c (gpgex_lock_spawning): New.
(gpgex_unlock_spawning): New.
* src/client.cc (uiserver_connect): Use the new lock functions.

The locking is required to be sure that only one UI server is started.
The lock code has been taken from GnuPG (common/asshelp.c) of which
g10 Code is the sole author.

Details

Provenance
wernerAuthored on Mar 5 2014, 1:37 PM
Parents
rX4b230c7604ba: Use the generic autogen.sh script.
Branches
Unknown
Tags
Unknown