And I sorry if you never saw the 80 British series
Seems the problem is this, I attach for a early preview.
I running more test, so stay tunned and maybe we could made the cake and eat
too.
Very, very thanks to Ralph, Andreas and all Mantis bug chasers.
Edgar
'From Squeak3.10beta of 22 July 2007 [latest update: #7154] on 8 October 2007
at 11:25:57 am'!
!SemaphoreTest methodsFor: 'testing' stamp: 'jf 12/2/2003 19:31'!
testWaitAndWaitTimeoutTogether
| semaphore value waitProcess waitTimeoutProcess |
semaphore _ Semaphore new.
waitProcess _ [semaphore wait. value _ #wait] fork.
waitTimeoutProcess _ [semaphore waitTimeoutMSecs: 50. value _
#waitTimeout] fork.
"Wait for the timeout to happen"
(Delay forMilliseconds: 100) wait.
"The waitTimeoutProcess should already have timed out. This should
release the waitProcess"
semaphore signal.
[waitProcess isTerminated and: [waitTimeoutProcess isTerminated]]
whileFalse: [(Delay forMilliseconds: 100) wait].
self assert: value = #wait.
! !
_______________________________________________
V3dot10 mailing list
[email protected]
http://lists.squeakfoundation.org/mailman/listinfo/v3dot10