smp: share: uxsig.o
authorMatt Birkholz <puck@birchwood-abbey.net>
Sat, 20 Dec 2014 21:42:57 +0000 (14:42 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Sun, 21 Dec 2014 19:19:11 +0000 (12:19 -0700)
README.txt
src/microcode/uxsig.c

index 73f4bea5f19356e588520c3f0cb268732ff3ec38..2b5e70c6e8c1326a8bcba77897e19e80339b4236 100644 (file)
@@ -782,14 +782,16 @@ command line.  The remaining 12 belong to the 7 microcode modules and
        I/O waiter).
 
   uxsig.o:
-  00000000 b blocked_signals
-  000000a0 b buffer.8771
-  00000000 d reset_choices.9210
-  00000080 b signal_descriptors
-  00000084 b signal_descriptors_length
-  00000088 b signal_descriptors_limit
-  00000004 C stop_signal_hook
-  00000004 C subprocess_death_hook
+  00000000 b blocked_signals           __thread
+  000000a0 b buffer.8771               __thread
+  00000000 d reset_choices.9210                read-only
+  00000080 b signal_descriptors                read-only, UX_initialize_signals
+  00000084 b signal_descriptors_length read-only, UX_initialize_signals
+  00000088 b signal_descriptors_limit  read-only, UX_initialize_signals
+  00000004 C stop_signal_hook          read-only, UX_initialize_processes
+  00000004 C subprocess_death_hook     read-only, UX_initialize_processes
+
+       OK.
 
   uxsock.o:
   00000000 b address.8832
index ce9b208904755389c955a8706dc2a63676265e0e..8f351904a7b79f0ae9d3c56d4d610041c3290590 100644 (file)
@@ -24,7 +24,7 @@ USA.
 
 */
 
-#include "scheme.h"
+#include "prims.h"
 #include "option.h"
 #include "ux.h"
 #include "ossig.h"
@@ -151,7 +151,7 @@ preserve_signal_mask (void)
     ((sizeof (sigset_t)), save_signal_mask, restore_signal_mask);
 }
 
-static sigset_t blocked_signals;
+static __thread sigset_t blocked_signals;
 
 void
 block_signals (void)
@@ -296,7 +296,7 @@ find_signal_descriptor (int signo)
 const char *
 find_signal_name (int signo)
 {
-  static char buffer [32];
+  static __thread char buffer [32];
   struct signal_descriptor * descriptor = (find_signal_descriptor (signo));
   if (descriptor != 0)
     return (descriptor -> name);