SemaphoreSet.st
changeset 12698 a4e7529547bc
parent 11282 5e04b4bd310a
child 14769 898e4754340b
child 18011 deb0c3355881
equal deleted inserted replaced
12697:c70a0ec49f43 12698:a4e7529547bc
   213     "Modified: 15.12.1995 / 23:10:07 / stefan"
   213     "Modified: 15.12.1995 / 23:10:07 / stefan"
   214     "Modified: 20.8.1997 / 18:33:09 / cg"
   214     "Modified: 20.8.1997 / 18:33:09 / cg"
   215 !
   215 !
   216 
   216 
   217 waitWithTimeout:seconds
   217 waitWithTimeout:seconds
   218     "wait for any of the the semaphore, but abort the wait after some time.
   218     "wait for any of the the semaphore, but abort the wait after some time (seconds).
   219      Return the (first) triggered semaphore if any, nil if we return due to a timeout."
   219      Return the (first) triggered semaphore if any, nil if we return due to a timeout."
   220 
   220 
   221     |millis|
   221     |millis|
   222 
   222 
   223     seconds notNil ifTrue:[
   223     seconds notNil ifTrue:[
   304 ! !
   304 ! !
   305 
   305 
   306 !SemaphoreSet class methodsFor:'documentation'!
   306 !SemaphoreSet class methodsFor:'documentation'!
   307 
   307 
   308 version
   308 version
   309     ^ '$Header: /cvs/stx/stx/libbasic/SemaphoreSet.st,v 1.18 2008-10-23 16:25:32 stefan Exp $'
   309     ^ '$Header: /cvs/stx/stx/libbasic/SemaphoreSet.st,v 1.19 2010-02-05 12:58:13 cg Exp $'
       
   310 !
       
   311 
       
   312 version_CVS
       
   313     ^ '$Header: /cvs/stx/stx/libbasic/SemaphoreSet.st,v 1.19 2010-02-05 12:58:13 cg Exp $'
   310 ! !
   314 ! !