--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/RegressionTests__ContextTest2.st Sat Mar 31 17:27:15 2001 +0200
@@ -0,0 +1,41 @@
+"{ Package: 'exept:regression' }"
+
+"{ NameSpace: RegressionTests }"
+
+TestCase subclass:#ContextTest2
+ instanceVariableNames:''
+ classVariableNames:''
+ poolDictionaries:''
+ category:'Tests-Regression'
+!
+
+
+!ContextTest2 methodsFor:'tests'!
+
+testProcess1
+ |x set lockSet p|
+
+ lockSet := Semaphore forMutualExclusion.
+ set := Set new.
+
+ x := 1 @ 1.
+
+ p := [:arg |
+ [
+ lockSet critical:[set add:arg].
+ arg perform:#x: with:1234.
+ ] valueNowOrOnUnwindDo:[
+ lockSet critical:[set remove:arg].
+ ].
+ ] forkWith:(Array with:x).
+
+ "
+ self new testProcess1
+ "
+! !
+
+!ContextTest2 class methodsFor:'documentation'!
+
+version
+ ^ '$Header$'
+! !