aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorHelmut Eller2026-02-13 09:10:16 +0100
committerHelmut Eller2026-02-13 09:10:16 +0100
commit91c9e9883488d715a30877dfd7641ef4b3c62658 (patch)
treee2c4525147e443f86baf9d0144aeadec082d7564 /src/process.c
parent9a4a54af9192a6653164364c75721ee814ffb1e8 (diff)
parentf1fe4d46190263e164ccd1e066095d46a156297f (diff)
downloademacs-feature/igc.tar.gz
emacs-feature/igc.zip
Merge branch 'master' into feature/igcfeature/igc
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 375c9010ba8..b2810444137 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5138,11 +5138,15 @@ server_accept_connection (Lisp_Object server, int channel)
5138 /* If the server process is locked to this thread, lock the client 5138 /* If the server process is locked to this thread, lock the client
5139 process to the same thread, otherwise clear the thread of its I/O 5139 process to the same thread, otherwise clear the thread of its I/O
5140 descriptors. */ 5140 descriptors. */
5141 eassert (!fd_callback_info[p->infd].thread);
5142 if (NILP (ps->thread)) 5141 if (NILP (ps->thread))
5143 set_proc_thread (p, NULL); 5142 {
5143 eassert (!fd_callback_info[p->infd].thread);
5144 set_proc_thread (p, NULL);
5145 }
5144 else 5146 else
5145 { 5147 {
5148 eassert (!fd_callback_info[p->infd].thread
5149 || fd_callback_info[p->infd].thread == XTHREAD (ps->thread));
5146 eassert (XTHREAD (ps->thread) == current_thread); 5150 eassert (XTHREAD (ps->thread) == current_thread);
5147 set_proc_thread (p, XTHREAD (ps->thread)); 5151 set_proc_thread (p, XTHREAD (ps->thread));
5148 } 5152 }