Home GnuPG

Weekly Standup
ActivePublic

Hosted by wk on Nov 13 2017, 11:00 AM - 12:00 PM.

Recurring Event

Event Series
This event repeats every week.

Details

Event Timeline

re: double fork. Simply removing it is IMHO too brittle. We introduced it very early to avoid all kind of problems which hanging processes due to ill-behaving programs using gpgme. OTOH, there is still the problem on to reliable close file descriptors in multi-threaded programs. We now have a solution for Linux but it is Linux only.

On Windows we use a spawning helper which wraps the execs and closes the file descriptors - this is the only way to do this on older Windows versions Since Windows-7 there seems to be a system call to close file descriptor (HANDLEs) more selectively. That would allow to remove the spawning helper. OTOH, on Unix a spawning helper could be used to avoid the double for and would also simplify file descriptor closing.

Some people don't like extra wrapper programs - but in reality the overhead is very small.