diff options
Diffstat (limited to 'src/thread.h')
| -rw-r--r-- | src/thread.h | 9 |
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. */ | ||
| 37 | struct bc_thread_state { | ||
| 38 | Lisp_Object *fp; /* current frame pointer (see bytecode.c) */ | ||
| 39 | Lisp_Object *stack; | ||
| 40 | Lisp_Object *stack_end; | ||
| 41 | }; | ||
| 42 | |||
| 36 | struct thread_state | 43 | struct 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 | ||
| 186 | INLINE bool | 195 | INLINE bool |