author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 28 Aug 2017 21:05:24 +0100 | |
branch | jv |
changeset 1954 | f868e5f2043f |
parent 1567 | e17701a073f9 |
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$' ! !