aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
index f2755045b2e..a29af702d13 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -33,6 +33,13 @@ 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
36/* Byte-code interpreter thread state. */
37struct bc_thread_state {
38 Lisp_Object *fp; /* current frame pointer (see bytecode.c) */
39 Lisp_Object *stack;
40 Lisp_Object *stack_end;
41};
42
36struct thread_state 43struct thread_state
37{ 44{
38 union vectorlike_header header; 45 union vectorlike_header header;
@@ -181,6 +188,8 @@ struct thread_state
181 188
182 /* Threads are kept on a linked list. */ 189 /* Threads are kept on a linked list. */
183 struct thread_state *next_thread; 190 struct thread_state *next_thread;
191
192 struct bc_thread_state bc;
184} GCALIGNED_STRUCT; 193} GCALIGNED_STRUCT;
185 194
186INLINE bool 195INLINE bool