]> SALOME platform Git repositories - modules/kernel.git/commit
Salome HOME
Fix bug of concurrency between consumer/producer. Rare occurence.
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 30 Oct 2015 09:32:43 +0000 (10:32 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 30 Oct 2015 09:32:43 +0000 (10:32 +0100)
commit07e511ee5814b1334473374cc70b9befb011529a
treeffcae3c73f25bada1e19679202a28131d45b2306
parente875ceded237bab5291aacc93335c7e947690df9
Fix bug of concurrency between consumer/producer. Rare occurence.
The case that raised bug.
0 - Consumer does t=dss.waitForKeyInVar(...).
1 - Producer push all the values and finish and call dss.moveRdExtInitToRdExt.
2 - Consumer does t.waitFor() -> Crash var has been destroyed by 1.
src/SALOMESDS/SALOMESDS_DataScopeServer.cxx
src/SALOMESDS/SALOMESDS_DataScopeServer.hxx
src/SALOMESDS/SALOMESDS_PickelizedPyObjRdExtInitServer.cxx
src/SALOMESDS/SALOMESDS_PickelizedPyObjRdExtInitServer.hxx
src/SALOMESDS/SALOMESDS_Transaction.cxx
src/SALOMESDS/SALOMESDS_Transaction.hxx