forked from SeasideSt/Seaside
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...GemStone-Core.package/TransientRecursionLock.extension/instance/privateLockingProcess..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*seaside-gemstone-core | ||
privateLockingProcess: aProcess | ||
"This method is private to the Seaside core implementation. | ||
It exists only because Seaside's call/answer implementation in Gemstone manipulates processes, eventually leading to a change in the reified process object for the process, even though the process itself is the same. In such a case, when a recursive entry is made to critical section protected by the lock, the entry will be blocked (because the Process instance in the lockingProcess instvar is no longer the same as the reified Process instance for the active process) and a deadlock occurs. See more info at https://github.com/GsDevKit/Seaside31/issues/71" | ||
lockingProcess := aProcess |
5 changes: 5 additions & 0 deletions
5
...tory/Seaside-GemStone-Core.package/TransientRecursionLock.extension/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"privateLockingProcess:" : "JohanBrichau 06/06/2015 02:37" } } |
2 changes: 2 additions & 0 deletions
2
repository/Seaside-GemStone-Core.package/TransientRecursionLock.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
"name" : "TransientRecursionLock" } |
2 changes: 1 addition & 1 deletion
2
repository/Seaside-GemStone-Core.package/monticello.meta/version
Large diffs are not rendered by default.
Oops, something went wrong.