[squeak-dev] The Trunk: Kernel-nice.372.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jan 5 20:25:40 UTC 2010


Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.372.mcz

==================== Summary ====================

Name: Kernel-nice.372
Author: nice
Time: 5 January 2010, 9:25:23 am
UUID: a87b1281-a402-4f55-b8e8-bb9b0f209125
Ancestors: Kernel-nice.371

move a temp assignment to outer scope

=============== Diff against Kernel-nice.371 ===============

Item was changed:
  ----- Method: Monitor>>exitAndWaitInQueue:maxMilliseconds: (in category 'private') -----
  exitAndWaitInQueue: anOrderedCollection maxMilliseconds: anIntegerOrNil
  	| lock delay |
+ 	lock := queuesMutex 
+ 		critical: [anOrderedCollection addLast: Semaphore new].
- 	queuesMutex 
- 		critical: [lock := anOrderedCollection addLast: Semaphore new].
  	self exit.
+ 	anIntegerOrNil ifNil: [
- 	anIntegerOrNil isNil ifTrue: [
  		lock wait
+ 	] ifNotNil: [
- 	] ifFalse: [
  		delay := MonitorDelay signalLock: lock afterMSecs: anIntegerOrNil inMonitor: self queue: anOrderedCollection.
  		lock wait.
  		delay unschedule.
  	].
  	self enter.!




More information about the Squeak-dev mailing list