[prev in list] [next in list] [prev in thread] [next in thread]
List: ltp-list
Subject: Re: [LTP] [PATCH] [CONCURRENCY] shmat02
From: Subrata Modak <subrata () linux ! vnet ! ibm ! com>
Date: 2008-02-28 9:37:38
Message-ID: 1204190738.4611.16.camel () subratamodak ! linux ! ibm ! com
[Download RAW message or body]
On Wed, 2008-02-27 at 18:38 +0100, Renaud Lottiaux wrote:
> Hi !
>
> This patch fixes a concurrency issue in shmat02.
> The second IPC key used in this test was generated doing a ++ on the
> first key. By doing this, it makes possible to get a conflict with a key
> generated by another process.
> To fix this, I just do a new call to getipckey() and check if the key is
> different from the previously generated one.
Thanks Renaud. This has been merged too.
Regards--
Subrata
>
> R.
>
> -------------------------------------------------------------------------
> 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 \
> Ltp-list@lists.sourceforge.net \
> https://lists.sourceforge.net/lists/listinfo/ltp-list
-------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic