Subject: Re: [PATCH 2/2] Fix module support if threads are disabled (Bug#30106)

From: Eli Zaretskii <[email-masked]>
Date: Thu, 18 Jan 2018 16:04:05 +0200

> From: Philipp Stephani <[email-masked]>
> Cc: Philipp Stephani <[email-masked]>
> Date: Wed, 17 Jan 2018 23:28:46 +0100
> 
> * src/systhread.c (sys_thread_equal): New function.
> * src/emacs-module.c (in_current_thread): Use it.

I'd prefer that the only file that calls systhread.c functions is
thread.c; systhread.c is supposed to be low-level code concealed from
application levels.  So this would call for another level of
indirection: add a new function to thread.c, and call that from
emacs-module.c.

Otherwise, LGTM for master; thanks.