aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.h
diff options
context:
space:
mode:
authorEli Zaretskii2022-03-19 22:18:47 +0200
committerEli Zaretskii2022-03-19 22:18:47 +0200
commitd2ac7447db52f492f9cbb52566de2e452c8bc65d (patch)
tree42368147e419249f6f5e67e2c8716fc53b55a545 /src/thread.h
parent6887bf555f12e2059f237862159e19deddf596e1 (diff)
parentccf4a4fa482f61938a9495c862b74f4a2d3ade0c (diff)
downloademacs-d2ac7447db52f492f9cbb52566de2e452c8bc65d.tar.gz
emacs-d2ac7447db52f492f9cbb52566de2e452c8bc65d.zip
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
index ddba1a2d994..b34ca3d57c8 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -33,6 +33,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
33#include "sysselect.h" /* FIXME */ 33#include "sysselect.h" /* FIXME */
34#include "systhread.h" 34#include "systhread.h"
35 35
36INLINE_HEADER_BEGIN
37
36/* Byte-code interpreter thread state. */ 38/* Byte-code interpreter thread state. */
37struct bc_thread_state { 39struct bc_thread_state {
38 struct bc_frame *fp; /* current frame pointer */ 40 struct bc_frame *fp; /* current frame pointer */
@@ -194,6 +196,8 @@ struct thread_state
194 struct bc_thread_state bc; 196 struct bc_thread_state bc;
195} GCALIGNED_STRUCT; 197} GCALIGNED_STRUCT;
196 198
199INLINE_HEADER_BEGIN
200
197INLINE bool 201INLINE bool
198THREADP (Lisp_Object a) 202THREADP (Lisp_Object a)
199{ 203{
@@ -315,4 +319,6 @@ int thread_select (select_func *func, int max_fds, fd_set *rfds,
315 319
316bool thread_check_current_buffer (struct buffer *); 320bool thread_check_current_buffer (struct buffer *);
317 321
322INLINE_HEADER_END
323
318#endif /* THREAD_H */ 324#endif /* THREAD_H */