diff options
| author | Tom Tromey | 2012-08-15 13:16:33 -0600 |
|---|---|---|
| committer | Tom Tromey | 2012-08-15 13:16:33 -0600 |
| commit | dbb33d4e99cc9d68dea0b1c137afdb9f19121022 (patch) | |
| tree | ec56568a9e85458f4c502e21f3565afcd764075d /src/thread.h | |
| parent | 8d3566c6a0eb3977c3115ae100a357f8d63cf77e (diff) | |
| download | emacs-dbb33d4e99cc9d68dea0b1c137afdb9f19121022.tar.gz emacs-dbb33d4e99cc9d68dea0b1c137afdb9f19121022.zip | |
This adds thread-blocker, a function to examine what a thread is
blocked on. I thought this would be another nice debugging addition.
Diffstat (limited to 'src/thread.h')
| -rw-r--r-- | src/thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h index 1a193b1e4ae..d21887a0928 100644 --- a/src/thread.h +++ b/src/thread.h | |||
| @@ -44,6 +44,10 @@ struct thread_state | |||
| 44 | Lisp_Object error_symbol; | 44 | Lisp_Object error_symbol; |
| 45 | Lisp_Object error_data; | 45 | Lisp_Object error_data; |
| 46 | 46 | ||
| 47 | /* If we are waiting for some event, this holds the object we are | ||
| 48 | waiting on. */ | ||
| 49 | Lisp_Object event_object; | ||
| 50 | |||
| 47 | /* m_gcprolist must be the first non-lisp field. */ | 51 | /* m_gcprolist must be the first non-lisp field. */ |
| 48 | /* Recording what needs to be marked for gc. */ | 52 | /* Recording what needs to be marked for gc. */ |
| 49 | struct gcpro *m_gcprolist; | 53 | struct gcpro *m_gcprolist; |