Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 2544

Show
Ignore:
Timestamp:
09/03/07 14:19:54 (1 year ago)
Author:
kris
Message:

doh! Forgot the posix code ... fixes #609

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/io/MappedBuffer.d

    r2542 r2544  
    183183                }     
    184184 
    185                 override void close ()  
     185                /*************************************************************** 
     186 
     187                        Please use detach instead ... 
     188 
     189                ***************************************************************/ 
     190 
     191                deprecated void close () 
     192                { 
     193                        detach; 
     194                } 
     195 
     196                /*************************************************************** 
     197 
     198                        Release this mapped buffer without flushing 
     199 
     200                ***************************************************************/ 
     201 
     202                void detach () 
    186203                { 
    187204                        // NOTE: When a process ends, all mmaps belonging to that process 
     
    195212                        base = null;     
    196213                } 
     214 
     215                /*************************************************************** 
     216 
     217                        Flush dirty content out to the drive.  
     218 
     219                ***************************************************************/ 
    197220 
    198221                override void flush ()