[gpgme] fork() problem

Stephan Menzel smenzel at gmx-gmbh.de
Mon Feb 19 19:57:52 CET 2007


Am Montag, 19. Februar 2007 16:01:12 schrieb Stephan Menzel:
> I think I've got it solved. I just took the functionality and moved it away
> out of the daemon and put it into a new daemon that doesn't use threading
> but rather uses fork() itself.

...and just one little addition to this: I did some research on the subject 
and questioned some collegues and it turned out some of them have the strong 
opinion that forking around in a heavyly multithreaded process is evil[tm] in 
itself and should be avoided at all costs.
This might just be a rumour but I don't think so. Do you think it would be 
feasible to do the job without forking another process? Do do the job inside 
the lib? I think that would enhance gpgme's usability for use cases such as 
mine.

Thanks and Greetings...

Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20070219/14efd8ad/attachment.pgp 


More information about the Gnupg-devel mailing list