Mercurial > hg > xemacs-beta
diff src/emacs.c @ 5814:a216b3c2b09e
Add TLS support. See xemacs-patches message with ID
<CAHCOHQk6FNm2xf=XiGEpPq43+7WOzNZ=SuD9V79o3wb9WVCTrQ@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Tue, 07 Oct 2014 21:16:10 -0600 |
parents | 1a507c4c6c42 |
children | 4d7032d36975 |
line wrap: on
line diff
--- a/src/emacs.c Thu Oct 02 10:19:00 2014 +0200 +++ b/src/emacs.c Tue Oct 07 21:16:10 2014 -0600 @@ -437,6 +437,7 @@ #include "sysfile.h" #include "systime.h" #include "sysproc.h" /* for qxe_getpid() */ +#include "tls.h" #ifdef QUANTIFY #include <quantify.h> @@ -1605,6 +1606,7 @@ syms_of_scrollbar (); #endif syms_of_text (); + syms_of_tls (); #ifdef HAVE_TOOLBARS syms_of_toolbar (); #endif @@ -2215,6 +2217,7 @@ vars_of_symbols (); vars_of_syntax (); vars_of_text (); + vars_of_tls (); #ifdef HAVE_TOOLBARS vars_of_toolbar (); #endif @@ -2677,6 +2680,8 @@ init_device_tty (); #endif init_console_stream (restart); /* Create the first console */ + if (initialized && !restart) + init_tls (); /* try to get the actual pathname of the exec file we are running */ if (!restart)