/[gcl]/gcl/o/mingwin.c
ViewVC logotype

Diff of /gcl/o/mingwin.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by mjthomas, Tue Feb 25 04:41:50 2003 UTC revision 1.8.6.1 by camm, Sun Sep 14 02:30:45 2003 UTC
# Line 851  void close_shared_memory() Line 851  void close_shared_memory()
851    sharedMemory.handle = NULL;    sharedMemory.handle = NULL;
852    if (sharedMemory.address)  UnmapViewOfFile(sharedMemory.address);    if (sharedMemory.address)  UnmapViewOfFile(sharedMemory.address);
853    sharedMemory.address = NULL;    sharedMemory.address = NULL;
854    init_signals_pendingPtr();    gcl_init_signals_pendingPtr();
855  }  }
856    
857  void init_shared_memory (void)  void gcl_init_shared_memory (void)
858  {  {
859    sprintf(sharedMemory.name,"gcl-%d",getpid());    sprintf(sharedMemory.name,"gcl-%d",getpid());
860    sharedMemory.handle =    sharedMemory.handle =
# Line 869  void init_shared_memory (void) Line 869  void init_shared_memory (void)
869                     0);                                /* Map entire file.  */                     0);                                /* Map entire file.  */
870     if (sharedMemory.address == NULL)     if (sharedMemory.address == NULL)
871       { error("MapViewOfFile failed");}       { error("MapViewOfFile failed");}
872     init_signals_pendingPtr();     gcl_init_signals_pendingPtr();
873     atexit(close_shared_memory);     atexit(close_shared_memory);
874  }  }
875    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.8.6.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26