emacs-diffs
[Top][All Lists]
Advanced

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

emacs-27 1fe596d: Fix another compilation problem in a build without thr


From: Eli Zaretskii
Subject: emacs-27 1fe596d: Fix another compilation problem in a build without threads
Date: Wed, 8 Jan 2020 15:01:25 -0500 (EST)

branch: emacs-27
commit 1fe596d89f9398f887bde7174bede39270065f9e
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix another compilation problem in a build without threads
    
    * src/systhread.c (sys_thread_set_name) [!THREADS_ENABLED]: Add
    a trivial implementation.
---
 src/systhread.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/systhread.c b/src/systhread.c
index 5bd6299..c649ae8 100644
--- a/src/systhread.c
+++ b/src/systhread.c
@@ -81,6 +81,10 @@ sys_thread_equal (sys_thread_t t, sys_thread_t u)
 {
   return t == u;
 }
+void
+sys_thread_set_name (const char *name)
+{
+}
 
 bool
 sys_thread_create (sys_thread_t *t, thread_creation_function *func, void 
*datum)



reply via email to

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