JINMEI Tatuya
|
00b7af2452
[2831] corrected the position of BOOST_MAPPED_FILE_CXXFLAG
|
12 years ago |
JINMEI Tatuya
|
d17b3c0067
[2831] set -Wall and -Wextra to detect possible warnings more accurately.
|
12 years ago |
JINMEI Tatuya
|
08a77e0ef2
[2831] allow skipping build sh-mem support. set -Wno-error if necessary.
|
12 years ago |
JINMEI Tatuya
|
e01ee176ce
[2831] detect buildability of managed_mapped_file, w/ or w/o -Werror.
|
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
|
bafbce54b6
[2831] added note about too small initial_size, and added a test for the case.
|
12 years ago |
JINMEI Tatuya
|
da33bc422e
[2831] clarifed the intent of the assert() in growSegment().
|
12 years ago |
JINMEI Tatuya
|
2772477dcf
[2831] simplified code a bit using static_cast instead of memcpy
|
12 years ago |
JINMEI Tatuya
|
faca56aea5
[2831] added a test to have another process open and read mapped memory
|
12 years ago |
JINMEI Tatuya
|
54fdd6d60c
[2831] extracted interproc synchronization utility from syncfile test
|
12 years ago |
JINMEI Tatuya
|
0b18c4d029
[2831] removed unnecessary flush before reset() (as the dtor calls flush)
|
12 years ago |
JINMEI Tatuya
|
c52e7d7d0c
[2831] check two different addressed from getNamedAddress can share the data.
|
12 years ago |
JINMEI Tatuya
|
8599372b7f
[2831] added a test checking named data survive grow/shrink
|
12 years ago |
JINMEI Tatuya
|
ecc1ba7e65
[2831] corrected example code in doc
|
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
|
b8d905c9df
[2831] described implementation-specific differences of setNamedAddress.
|
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
|
0f5e915ace
[2831] more explicitly clarify passing NULL to setNamedAddress.
|
12 years ago |
JINMEI Tatuya
|
10d88f05a9
[2831] explain the rational behind the difference between allocate/set name
|
12 years ago |
JINMEI Tatuya
|
617f1e6fc0
[2831] explain the design rationale of MemorySegmentGrown
|
12 years ago |
JINMEI Tatuya
|
8ddec7d125
[2831] minor editorial fixes: corrected a typo; folded a long line.
|
12 years ago |
Mukund Sivaraman
|
b215e58d58
[2831] Make some more minor comment updates
|
12 years ago |
Mukund Sivaraman
|
58825bde4c
[2831] Use chmod() function instead of calling a program
|
12 years ago |
Mukund Sivaraman
|
5d1b066a77
[2831] Add some more checks when the segment is grown
|
12 years ago |
Mukund Sivaraman
|
b610eee270
[2831] Test getSize() directly with the new size, before and after reset
|
12 years ago |
Mukund Sivaraman
|
58f99ec697
[2831] Make some more minor comment updates
|
12 years ago |