diff options
| author | Michael R. Mauger | 2017-07-24 22:15:04 -0400 |
|---|---|---|
| committer | Michael R. Mauger | 2017-07-24 22:15:04 -0400 |
| commit | df1a71272e5cdd10b511e2ffd702ca50ddd8a773 (patch) | |
| tree | 9b9ac725394ee80891e2bff57b6407d0e491e71a /src/thread.h | |
| parent | eb27fc4d49e8c914cd0e6a8a2d02159601542141 (diff) | |
| parent | 32daa3cb54523006c88717cbeac87964cd687a1b (diff) | |
| download | emacs-df1a71272e5cdd10b511e2ffd702ca50ddd8a773.tar.gz emacs-df1a71272e5cdd10b511e2ffd702ca50ddd8a773.zip | |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'src/thread.h')
| -rw-r--r-- | src/thread.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/thread.h b/src/thread.h index 9e94de5c175..52b16f1ba83 100644 --- a/src/thread.h +++ b/src/thread.h | |||
| @@ -62,8 +62,14 @@ struct thread_state | |||
| 62 | char *m_stack_bottom; | 62 | char *m_stack_bottom; |
| 63 | #define stack_bottom (current_thread->m_stack_bottom) | 63 | #define stack_bottom (current_thread->m_stack_bottom) |
| 64 | 64 | ||
| 65 | /* An address near the top of the stack. */ | 65 | /* The address of an object near the C stack top, used to determine |
| 66 | char *stack_top; | 66 | which words need to be scanned by the garbage collector. This is |
| 67 | also used to detect heuristically whether segmentation violation | ||
| 68 | address indicates stack overflow, as opposed to some internal | ||
| 69 | error in Emacs. If the C function F calls G which calls H which | ||
| 70 | calls ... F, then at least one of the functions in the chain | ||
| 71 | should set this to the address of a local variable. */ | ||
| 72 | void *stack_top; | ||
| 67 | 73 | ||
| 68 | struct catchtag *m_catchlist; | 74 | struct catchtag *m_catchlist; |
| 69 | #define catchlist (current_thread->m_catchlist) | 75 | #define catchlist (current_thread->m_catchlist) |