ustd: make terminate_req static
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 9 Mar 2010 05:23:20 +0000 (00:23 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 9 Mar 2010 05:23:20 +0000 (00:23 -0500)
ustd/ustd.c

index 8eeb62ba361aa0a7696b7540a827fb24b6cafb4e..4f826966dd3900ba1da0ce9211d273e3697c070f 100644 (file)
@@ -59,7 +59,7 @@ char *pidfile = NULL;
 int active_buffers = 0;
 pthread_mutex_t active_buffers_mutex = PTHREAD_MUTEX_INITIALIZER;
 /* Whether a request to end the program was received. */
-sig_atomic_t terminate_req = 0;
+volatile sig_atomic_t terminate_req = 0;
 
 int get_subbuffer(struct buffer_info *buf)
 {
This page took 0.024356 seconds and 4 git commands to generate.