Tomas Hozza
|
382705e83e
Add missing stdint.h header inclusion
|
12 years ago |
JINMEI Tatuya
|
67b935d7e7
[2850] Assert that the segment is not grown during allMemoryDeallocated()
|
12 years ago |
Mukund Sivaraman
|
e4a817403b
[2850] Add a comment
|
12 years ago |
Mukund Sivaraman
|
54c8596393
[2850] Use non-const implementation of allMemoryDeallocated() again
|
12 years ago |
Mukund Sivaraman
|
62b6680e17
[2850] Move allocate_size_ to private class
|
12 years ago |
Mukund Sivaraman
|
214d50fb38
[2850] Constify allMemoryDeallocated() again
|
12 years ago |
Michal 'vorner' Vaner
|
025659c532
Merge branch 'master' into work/grow
|
12 years ago |
Mukund Sivaraman
|
c312fa4f48
[2850] Update comment that it doesn't actually fail
|
12 years ago |
Mukund Sivaraman
|
de6e68cf25
[2850] Fix MemorySegmentMapped::allMemoryDeallocated() and make it non-const
|
12 years ago |
Mukund Sivaraman
|
3c98ade56f
[2850] Looks like flush() finalizes base_sgmt_, so we free before that
|
12 years ago |
Mukund Sivaraman
|
bf30f05233
[2850] Pre-reserve some memory to workaround relocations in setNamedAddress()
|
12 years ago |
JINMEI Tatuya
|
3a6ae66c2a
[2836-2] make sure remapping boost segment even if grow() fails.
|
12 years ago |
JINMEI Tatuya
|
7184eb4185
[2836-2] make sure flush()ing the base segment before grow/shrink
|
12 years ago |
Mukund Sivaraman
|
5082c255bb
[2850] Constify getNamedAddress()
|
12 years ago |
Mukund Sivaraman
|
68343c845a
[2850] Make getNamedAddress() return a std::pair
|
12 years ago |
JINMEI Tatuya
|
0f6cfdfd2a
[2831] use boost file lock to detect any violation of read-write conflicts
|
12 years ago |
JINMEI Tatuya
|
059b6a3e1f
[2831] corrected assert condition for overflow check
|
12 years ago |
JINMEI Tatuya
|
be5ebe7673
[2831] updated rw ctor so that we can create a new segment, removing old one.
|
12 years ago |
JINMEI Tatuya
|
da33bc422e
[2831] clarifed the intent of the assert() in growSegment().
|
12 years ago |
JINMEI Tatuya
|
0b18c4d029
[2831] removed unnecessary flush before reset() (as the dtor calls flush)
|
12 years ago |
JINMEI Tatuya
|
b38ed8f456
[2831] use \throw to describe exceptions where appropriate.
|
12 years ago |
JINMEI Tatuya
|
5ab82e0009
[2831] added more comments about crash in boost on multiple calls to shrink.
|
12 years ago |
JINMEI Tatuya
|
3c93e56397
[2831] corrected exception what() message.
|
12 years ago |
JINMEI Tatuya
|
81e57da07f
[2831] handle NULL name values for xxxNamedAddress explicitly.
|
12 years ago |
JINMEI Tatuya
|
693068bdb1
[2831] define MemorySegmentMapped::INITIAL_SIZE explicitly as it's public.
|
12 years ago |
JINMEI Tatuya
|
f6dae94a7b
[2831] use NULL instead of 0; maybe worth discussing, but out of scope of task.
|
12 years ago |
JINMEI Tatuya
|
8ddec7d125
[2831] minor editorial fixes: corrected a typo; folded a long line.
|
12 years ago |
Mukund Sivaraman
|
e9e336900e
[2831] Add a comment and make a minor comment update
|
12 years ago |
Mukund Sivaraman
|
7ed3411dd5
[2831] Rewrite message for better clarity
|
12 years ago |
Mukund Sivaraman
|
252e7844e4
[2831] Rename some variables to full names (that are not very long)
|
12 years ago |