fix race condition between dirty shutdown of BidirMMapPipe and RooRealMPFE
fix race condition between dirty shutdown of BidirMMapPipe and RooRealMPFE

When a RooRealMPFE is not deallocated at runtime, but has it's
destructor called during after main() has exited, it may happen that the
cleanup routines for BidirMMapPipe are called first by the C++ runtime
shutdown code. In that case, the pipe held by RooRealMPFE is already
closed by the time RooRealMPFE tries to send the regular Terminate
message to the child process. The patch detects this, and refrains from
sending this final message over the pipe, since the child is no longer
alive at that point. Since the parent process is not waiting for any
data from the child, this is not harmful.

Signed-off-by: Wouter Verkerke <a828b442a61dc068271c4de5e7263419bac2b4a3@nikhef.nl>

zzxuanyuan/root-compressor-dummy,buuck/root,dfunke/root,buuck/root,georgtroska/root,mkret2/root,agarciamontoro/root,esakellari/my_root_for_test,zzxuanyuan/root-compressor-dummy,davidlt/root,esakellari/my_root_for_test,pspe/root,mkret2/root,karies/root,BerserkerTroll/root,esakellari/my_root_for_test,mhuwiler/rootauto,root-mirror/root,omazapa/root,mkret2/root,Duraznos/root,0x0all/ROOT,sbinet/cxx-root,bbockelm/root,0x0all/ROOT,mattkretz/root,perovic/root,Duraznos/root,gganis/root,gbitzes/root,davidlt/root,BerserkerTroll/root,abhinavmoudgil95/root,karies/root,davidlt/root,krafczyk/root,lgiommi/root,zzxuanyuan/root,zzxuanyuan/root,georgtroska/root,abhinavmoudgil95/root,zzxuanyuan/root-compressor-dummy,sbinet/cxx-root,olifre/root,root-mirror/root,davidlt/root,georgtroska/root,davidlt/root,dfunke/root,CristinaCristescu/root,omazapa/root,omazapa/root,agarciamontoro/root,omazapa/root,BerserkerTroll/root,dfunke/root,jrtomps/root,agarciamontoro/root,gganis/root,zzxuanyuan/root-compressor-dummy,sirinath/root,gganis/root,zzxuanyuan/root-compressor-dummy,omazapa/root,zzxuanyuan/root,lgiommi/root,dfunke/root,BerserkerTroll/root,CristinaCristescu/root,evgeny-boger/root,Duraznos/root,thomaskeck/root,dfunke/root,arch1tect0r/root,root-mirror/root,davidlt/root,sbinet/cxx-root,lgiommi/root,sawenzel/root,sawenzel/root,vukasinmilosevic/root,omazapa/root-old,CristinaCristescu/root,thomaskeck/root,evgeny-boger/root,davidlt/root,Duraznos/root,georgtroska/root,jrtomps/root,olifre/root,gganis/root,thomaskeck/root,mattkretz/root,gbitzes/root,krafczyk/root,georgtroska/root,abhinavmoudgil95/root,bbockelm/root,nilqed/root,abhinavmoudgil95/root,omazapa/root,thomaskeck/root,smarinac/root,beniz/root,pspe/root,buuck/root,beniz/root,gbitzes/root,simonpf/root,omazapa/root,veprbl/root,simonpf/root,karies/root,olifre/root,Duraznos/root,smarinac/root,perovic/root,mhuwiler/rootauto,Y--/root,vukasinmilosevic/root,arch1tect0r/root,olifre/root,georgtroska/root,krafczyk/root,vukasinmilosevic/root,georgtroska/root,0x0all/ROOT,veprbl/root,thomaskeck/root,perovic/root,buuck/root,bbockelm/root,omazapa/root-old,veprbl/root,gbitzes/root,omazapa/root,nilqed/root,lgiommi/root,CristinaCristescu/root,cxx-hep/root-cern,sirinath/root,lgiommi/root,sirinath/root,zzxuanyuan/root,davidlt/root,sbinet/cxx-root,bbockelm/root,arch1tect0r/root,davidlt/root,gganis/root,perovic/root,mkret2/root,mhuwiler/rootauto,abhinavmoudgil95/root,sbinet/cxx-root,jrtomps/root,satyarth934/root,pspe/root,esakellari/my_root_for_test,veprbl/root,beniz/root,perovic/root,davidlt/root,satyarth934/root,thomaskeck/root,cxx-hep/root-cern,CristinaCristescu/root,mhuwiler/rootauto,sirinath/root,jrtomps/root,dfunke/root,sirinath/root,jrtomps/root,mkret2/root,esakellari/root,smarinac/root,esakellari/root,nilqed/root,mhuwiler/rootauto,vukasinmilosevic/root,vukasinmilosevic/root,veprbl/root,pspe/root,gbitzes/root,cxx-hep/root-cern,pspe/root,buuck/root,sawenzel/root,gbitzes/root,olifre/root,gganis/root,jrtomps/root,nilqed/root,perovic/root,bbockelm/root,root-mirror/root,zzxuanyuan/root-compressor-dummy,arch1tect0r/root,georgtroska/root,buuck/root,jrtomps/root,gbitzes/root,sirinath/root,satyarth934/root,simonpf/root,thomaskeck/root,omazapa/root,veprbl/root,omazapa/root-old,veprbl/root,BerserkerTroll/root,CristinaCristescu/root,satyarth934/root,esakellari/root,mkret2/root,esakellari/root,0x0all/ROOT,mattkretz/root,satyarth934/root,krafczyk/root,zzxuanyuan/root,CristinaCristescu/root,karies/root,buuck/root,0x0all/ROOT,evgeny-boger/root,sawenzel/root,mhuwiler/rootauto,mattkretz/root,olifre/root,dfunke/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,evgeny-boger/root,omazapa/root,gbitzes/root,sawenzel/root,Y--/root,thomaskeck/root,veprbl/root,krafczyk/root,sbinet/cxx-root,mkret2/root,beniz/root,veprbl/root,root-mirror/root,sbinet/cxx-root,Y--/root,thomaskeck/root,root-mirror/root,olifre/root,arch1tect0r/root,krafczyk/root,perovic/root,krafczyk/root,arch1tect0r/root,pspe/root,buuck/root,thomaskeck/root,cxx-hep/root-cern,vukasinmilosevic/root,satyarth934/root,davidlt/root,buuck/root,olifre/root,vukasinmilosevic/root,zzxuanyuan/root,nilqed/root,sawenzel/root,0x0all/ROOT,cxx-hep/root-cern,Y--/root,vukasinmilosevic/root,agarciamontoro/root,gbitzes/root,vukasinmilosevic/root,gganis/root,zzxuanyuan/root,nilqed/root,sawenzel/root,CristinaCristescu/root,sbinet/cxx-root,simonpf/root,zzxuanyuan/root,CristinaCristescu/root,nilqed/root,omazapa/root-old,beniz/root,esakellari/root,zzxuanyuan/root-compressor-dummy,abhinavmoudgil95/root,Duraznos/root,esakellari/root,Y--/root,sirinath/root,simonpf/root,zzxuanyuan/root-compressor-dummy,smarinac/root,BerserkerTroll/root,root-mirror/root,Duraznos/root,zzxuanyuan/root,omazapa/root-old,abhinavmoudgil95/root,gbitzes/root,Duraznos/root,BerserkerTroll/root,omazapa/root-old,mhuwiler/rootauto,Y--/root,nilqed/root,agarciamontoro/root,evgeny-boger/root,gganis/root,agarciamontoro/root,arch1tect0r/root,evgeny-boger/root,simonpf/root,root-mirror/root,pspe/root,beniz/root,mkret2/root,buuck/root,sbinet/cxx-root,smarinac/root,CristinaCristescu/root,bbockelm/root,zzxuanyuan/root-compressor-dummy,Duraznos/root,zzxuanyuan/root,karies/root,buuck/root,pspe/root,vukasinmilosevic/root,perovic/root,Y--/root,sawenzel/root,mattkretz/root,mkret2/root,evgeny-boger/root,esakellari/root,sawenzel/root,mhuwiler/rootauto,krafczyk/root,lgiommi/root,abhinavmoudgil95/root,jrtomps/root,esakellari/my_root_for_test,karies/root,olifre/root,sawenzel/root,lgiommi/root,mattkretz/root,smarinac/root,zzxuanyuan/root,esakellari/root,BerserkerTroll/root,karies/root,zzxuanyuan/root-compressor-dummy,0x0all/ROOT,evgeny-boger/root,perovic/root,dfunke/root,smarinac/root,agarciamontoro/root,Y--/root,bbockelm/root,agarciamontoro/root,lgiommi/root,dfunke/root,karies/root,mhuwiler/rootauto,vukasinmilosevic/root,jrtomps/root,simonpf/root,BerserkerTroll/root,gganis/root,agarciamontoro/root,omazapa/root-old,mkret2/root,georgtroska/root,beniz/root,pspe/root,arch1tect0r/root,beniz/root,gbitzes/root,mhuwiler/rootauto,abhinavmoudgil95/root,evgeny-boger/root,smarinac/root,arch1tect0r/root,mattkretz/root,cxx-hep/root-cern,mattkretz/root,jrtomps/root,cxx-hep/root-cern,smarinac/root,smarinac/root,esakellari/root,krafczyk/root,pspe/root,veprbl/root,0x0all/ROOT,nilqed/root,esakellari/root,Y--/root,mattkretz/root,georgtroska/root,bbockelm/root,sbinet/cxx-root,omazapa/root-old,root-mirror/root,sirinath/root,abhinavmoudgil95/root,root-mirror/root,karies/root,omazapa/root-old,arch1tect0r/root,simonpf/root,arch1tect0r/root,gganis/root,gganis/root,dfunke/root,georgtroska/root,satyarth934/root,krafczyk/root,satyarth934/root,satyarth934/root,bbockelm/root,jrtomps/root,esakellari/my_root_for_test,Duraznos/root,karies/root,pspe/root,esakellari/my_root_for_test,evgeny-boger/root,BerserkerTroll/root,Y--/root,omazapa/root-old,dfunke/root,esakellari/root,beniz/root,nilqed/root,mattkretz/root,perovic/root,sawenzel/root,zzxuanyuan/root,bbockelm/root,esakellari/my_root_for_test,nilqed/root,root-mirror/root,lgiommi/root,lgiommi/root,olifre/root,cxx-hep/root-cern,esakellari/my_root_for_test,simonpf/root,Duraznos/root,sirinath/root,abhinavmoudgil95/root,beniz/root,mattkretz/root,lgiommi/root,agarciamontoro/root,sirinath/root,BerserkerTroll/root,Y--/root,sbinet/cxx-root,0x0all/ROOT,evgeny-boger/root,perovic/root,CristinaCristescu/root,simonpf/root,krafczyk/root,beniz/root,omazapa/root,omazapa/root-old,satyarth934/root,agarciamontoro/root,karies/root,sirinath/root,esakellari/my_root_for_test,olifre/root,veprbl/root,mhuwiler/rootauto,simonpf/root,satyarth934/root,mkret2/root