aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.h
diff options
context:
space:
mode:
authorTom Tromey2012-08-15 13:07:04 -0600
committerTom Tromey2012-08-15 13:07:04 -0600
commit60a9d2a7728895c1a5bfbc37c3bfa8fde35abe61 (patch)
tree8cecdc7d91f6eb803ce132c4667052de465f9177 /src/thread.h
parente160922c665ba65e1dba5b87a924927e61be43b9 (diff)
downloademacs-60a9d2a7728895c1a5bfbc37c3bfa8fde35abe61.tar.gz
emacs-60a9d2a7728895c1a5bfbc37c3bfa8fde35abe61.zip
This turns thread_state into a pseudovector and updates various bits
of Emacs to cope.
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
index def05fdaec9..df26b887d1f 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -23,6 +23,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23 23
24struct thread_state 24struct thread_state
25{ 25{
26 struct vectorlike_header header;
27
26 /* The buffer in which the last search was performed, or 28 /* The buffer in which the last search was performed, or
27 Qt if the last search was done in a string; 29 Qt if the last search was done in a string;
28 Qnil if no searching has been done yet. */ 30 Qnil if no searching has been done yet. */
@@ -150,6 +152,7 @@ extern sys_mutex_t global_lock;
150 152
151extern void unmark_threads (void); 153extern void unmark_threads (void);
152 154
155extern void init_threads_once (void);
153extern void init_threads (void); 156extern void init_threads (void);
154 157
155#endif /* THREAD_H */ 158#endif /* THREAD_H */