mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Mapped region synchronous flush & size optimization
[SVN r79513]
This commit is contained in:
@@ -76,6 +76,13 @@ int main ()
|
||||
;++i){
|
||||
*filler++ = static_cast<unsigned char>(i);
|
||||
}
|
||||
if(!region.flush(0, 0, false)){
|
||||
return 1;
|
||||
}
|
||||
|
||||
if(!region2.flush(0, 0, true)){
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
//See if the pattern is correct in the file
|
||||
|
||||
Reference in New Issue
Block a user