From: Mukund Sivaraman Date: Mon, 29 Apr 2013 07:41:37 +0000 (+0530) Subject: [2831] Make a minor comment update about additional case X-Git-Tag: bind10-1.1.0beta2-release~8^2~14^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e825b22e4ea06a8f0ecc8645fbd42af230d05151;p=thirdparty%2Fkea.git [2831] Make a minor comment update about additional case --- diff --git a/src/lib/util/memory_segment_mapped.h b/src/lib/util/memory_segment_mapped.h index fe8a29a66d..7685e30c72 100644 --- a/src/lib/util/memory_segment_mapped.h +++ b/src/lib/util/memory_segment_mapped.h @@ -38,9 +38,12 @@ namespace util { /// Multiple processes can open multiple segments for the same file in /// read-only mode at the same time. But there shouldn't be more than /// one process that opens segments for the same file in read-write mode -/// at the same time. Likewise, if one process opens a segment for a file -/// there shouldn't be any other process that opens a segment for the file -/// in read-only mode. This class tries to detect any violation of this +/// at the same time. Likewise, if one process opens a segment for a +/// file in read-write mode, there shouldn't be any other process that +/// opens a segment for the file in read-only mode. If one or more +/// processes open segments for a file in read-only mode, there +/// shouldn't be any other process that opens a segment for the file in +/// read-write mode. This class tries to detect any violation of this /// restriction, but this does not intend to provide 100% safety. It's /// generally the user's responsibility to ensure this condition. ///