add volatile qualifiers to some shared mem buffer stuff, to enusre compiler

doesn't optimize out order sensitive stuff

git-svn-id: https://svn.musicpd.org/mpd/trunk@698 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-04-11 23:37:18 +00:00
parent ae33b348af
commit 26f72edc46
3 changed files with 20 additions and 20 deletions

View File

@@ -52,7 +52,7 @@
#include <unistd.h>
#include <string.h>
int * decode_pid = NULL;
int volatile * decode_pid = NULL;
void decodeSigHandler(int sig) {
if(sig==SIGCHLD) {