[Commits] [wesnoth/wesnoth] b95c99: Fix freeze when launching web browser on Linux/mac...

GitHub noreply at github.com
Wed Sep 6 16:53:31 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b95c9996bf435daa4d7e64fd1ef41425ac182b95
      https://github.com/wesnoth/wesnoth/commit/b95c9996bf435daa4d7e64fd1ef41425ac182b95
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-09-06 (Wed, 06 Sep 2017)

  Changed paths:
    M src/desktop/open.cpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Fix freeze when launching web browser on Linux/macOS

POSIX has a feature to automatically reap zombie processes, which makes it
unnecessary to wait for the child process to exit. Activate the feature
and stop waiting for exit.

"POSIX.1-2001 specifies that if the disposition of SIGCHLD is set to
SIG_IGN or the SA_NOCLDWAIT flag is set for SIGCHLD (see sigaction(2)),
then children that terminate do not become zombies"





More information about the Commits mailing list