mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
; * src/process.c (set_proc_thread): Fix assertion.
This commit is contained in:
parent
9985e71eb7
commit
034d755f2f
1 changed files with 2 additions and 1 deletions
|
|
@ -1449,7 +1449,8 @@ See `set-process-sentinel' for more info on sentinels. */)
|
||||||
static void
|
static void
|
||||||
set_proc_thread (struct Lisp_Process *proc, struct thread_state *thrd)
|
set_proc_thread (struct Lisp_Process *proc, struct thread_state *thrd)
|
||||||
{
|
{
|
||||||
eassert (THREADP (proc->thread) && XTHREAD (proc->thread) == thrd);
|
eassert ((NILP (proc->thread) && !thrd)
|
||||||
|
|| (THREADP (proc->thread) && XTHREAD (proc->thread) == thrd));
|
||||||
eassert (proc->infd < FD_SETSIZE);
|
eassert (proc->infd < FD_SETSIZE);
|
||||||
if (proc->infd >= 0)
|
if (proc->infd >= 0)
|
||||||
fd_callback_info[proc->infd].thread = thrd;
|
fd_callback_info[proc->infd].thread = thrd;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue