Files
libreoffice/vcl/inc
Tor Lillqvist dbced8e858 Don't share the wakeup pipe with child processes
Create a new pipe in the child process.

In a normal desktop LibreOffice each fork() will be followed quickly
by an exec(), so the FD_CLOEXEC would be enough for that. In
LibreOfficeKit-based software that uses the preinit mechanism, though,
the intent is that one can fork child processes without exec().

This solution uses pthread_atfork(). Another way would be to add
suitable public API callable from the LibreOfficeKit client
initialisation code in desktop/source/lib/init.cxx to explicitly close
and reopen the wakeup pipe in the default SvpSalInstance.

Change-Id: I03fad4ce4adf14c16cb0f537b3baab58fba38922
Reviewed-on: https://gerrit.libreoffice.org/24256
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-04-22 18:09:02 +03:00
..
2016-04-18 15:30:09 +02:00
2016-02-18 15:48:31 +00:00
2016-04-22 16:35:15 +02:00
2016-04-14 08:23:20 +00:00
2016-04-14 08:23:20 +00:00
2016-01-25 12:29:19 +01:00
2016-03-16 08:42:37 +00:00
2016-01-27 22:41:23 +11:00
2016-03-16 08:42:37 +00:00
2016-02-26 21:38:25 +00:00
2016-04-01 12:19:58 +00:00
2016-03-16 08:42:37 +00:00
2016-01-27 14:56:38 +01:00
2016-02-03 09:53:48 +00:00
2016-01-27 23:49:41 +11:00
2016-01-27 19:22:27 +11:00