Skip to content

WIP:Simplify windows implementation of _dbus_spawn_async_with_babysitter()

Ralf Habacker requested to merge rhabacker/dbus:simplify-windows-spawn into master

The child process is now started from the main thread. A thread will then be created to allow non-blocking detection of the child process termination.

In addition, the implementation has been made secure by using a mutex to protect access to some DBusBabysitter structure members.

This mr was originally started to fix the problem described in #149 (closed). But it turned out in the meantime that the cause is not in the structure of the threading support, but was fixed with !228 (merged), which makes this work no longer necessary for it.

Edited by Ralf Habacker

Merge request reports