emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 60fe17c958: Fix background daemon on Haiku


From: Po Lu
Subject: master 60fe17c958: Fix background daemon on Haiku
Date: Wed, 2 Feb 2022 20:51:35 -0500 (EST)

branch: master
commit 60fe17c958bb74eab7cbabe596f2700adee8b6ce
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix background daemon on Haiku
    
    * src/emacs.c (DAEMON_MUST_EXEC): Define when using the Haiku
    application kit.
---
 src/emacs.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/emacs.c b/src/emacs.c
index 2014e97fbf..31cc2078bd 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -190,8 +190,11 @@ static uintmax_t heap_bss_diff;
 
    We mark being in the exec'd process by a daemon name argument of
    form "--daemon=\nFD0,FD1\nNAME" where FD are the pipe file descriptors,
-   NAME is the original daemon name, if any. */
-#if defined NS_IMPL_COCOA || defined CYGWIN
+   NAME is the original daemon name, if any.
+
+   On Haiku, the table of semaphores used for looper locks doesn't
+   persist across forked processes.  */
+#if defined NS_IMPL_COCOA || defined CYGWIN || defined HAVE_HAIKU
 # define DAEMON_MUST_EXEC
 #endif
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]