2008/5/19, Helge Deller <[EMAIL PROTECTED]>: > Hi Roy, > > > > > How about merge the scenario of shm06 into shm04, and then eliminate > shm06? > > > > Modify shm04 to attach the same segment _twice_ to the child's address > space. > > In this case, the first returned address should be the same as where the > parent attaches its segment to while the second returned address should be > different. > > > > Yes, this is probably the best idea. > Alternatively, just leave shm04 as-is, and do the twice-mapping you > mentioned above in shm06. This way we'd keep two simple tests. > > Helge >
Hi guys, Here's the patch for the shmt06 according to Helge's recommandation, please help review it. Thanks. Roy
0001-This-patch-attaches-the-shared-memory-segment-twice.patch
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
