Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
5813:36dddf9d90d1 | 5814:a216b3c2b09e |
---|---|
435 | 435 |
436 #include "systty.h" | 436 #include "systty.h" |
437 #include "sysfile.h" | 437 #include "sysfile.h" |
438 #include "systime.h" | 438 #include "systime.h" |
439 #include "sysproc.h" /* for qxe_getpid() */ | 439 #include "sysproc.h" /* for qxe_getpid() */ |
440 #include "tls.h" | |
440 | 441 |
441 #ifdef QUANTIFY | 442 #ifdef QUANTIFY |
442 #include <quantify.h> | 443 #include <quantify.h> |
443 #endif | 444 #endif |
444 | 445 |
1603 syms_of_syntax (); | 1604 syms_of_syntax (); |
1604 #ifdef HAVE_SCROLLBARS | 1605 #ifdef HAVE_SCROLLBARS |
1605 syms_of_scrollbar (); | 1606 syms_of_scrollbar (); |
1606 #endif | 1607 #endif |
1607 syms_of_text (); | 1608 syms_of_text (); |
1609 syms_of_tls (); | |
1608 #ifdef HAVE_TOOLBARS | 1610 #ifdef HAVE_TOOLBARS |
1609 syms_of_toolbar (); | 1611 syms_of_toolbar (); |
1610 #endif | 1612 #endif |
1611 syms_of_undo (); | 1613 syms_of_undo (); |
1612 syms_of_widget (); | 1614 syms_of_widget (); |
2213 vars_of_select (); | 2215 vars_of_select (); |
2214 vars_of_sound (); | 2216 vars_of_sound (); |
2215 vars_of_symbols (); | 2217 vars_of_symbols (); |
2216 vars_of_syntax (); | 2218 vars_of_syntax (); |
2217 vars_of_text (); | 2219 vars_of_text (); |
2220 vars_of_tls (); | |
2218 #ifdef HAVE_TOOLBARS | 2221 #ifdef HAVE_TOOLBARS |
2219 vars_of_toolbar (); | 2222 vars_of_toolbar (); |
2220 #endif | 2223 #endif |
2221 vars_of_undo (); | 2224 vars_of_undo (); |
2222 vars_of_window (); | 2225 vars_of_window (); |
2675 #endif | 2678 #endif |
2676 #ifdef HAVE_TTY | 2679 #ifdef HAVE_TTY |
2677 init_device_tty (); | 2680 init_device_tty (); |
2678 #endif | 2681 #endif |
2679 init_console_stream (restart); /* Create the first console */ | 2682 init_console_stream (restart); /* Create the first console */ |
2683 if (initialized && !restart) | |
2684 init_tls (); | |
2680 | 2685 |
2681 /* try to get the actual pathname of the exec file we are running */ | 2686 /* try to get the actual pathname of the exec file we are running */ |
2682 if (!restart) | 2687 if (!restart) |
2683 { | 2688 { |
2684 Vinvocation_name = Fcar (Vcommand_line_args); | 2689 Vinvocation_name = Fcar (Vcommand_line_args); |