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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user