author | Claus Gittinger <cg@exept.de> |
Wed, 31 Jan 2018 23:44:47 +0100 | |
changeset 1897 | b5268e1fe140 |
parent 1447 | 2351db93aa5b |
child 1567 | e17701a073f9 |
child 2051 | 62ebd7e42570 |
permissions | -rw-r--r-- |
"{ Package: 'stx:goodies/regression' }" "{ NameSpace: RegressionTests }" TestCase subclass:#SemaphoreTest instanceVariableNames:'' classVariableNames:'' poolDictionaries:'' category:'tests-Regression' ! !SemaphoreTest methodsFor:'tests'! testSpeed01 |s t| s := Semaphore forMutualExclusion. t := Time millisecondsToRun:[ 1000000 timesRepeat:[ s critical:[1+1] ] ]. Transcript showCR:t " self run:#testSpeed01 " ! ! !SemaphoreTest class methodsFor:'documentation'! version ^ '$Header$' ! !