The Trunk: Kernel-nice.372.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-nice.372.mcz

commits-2
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.!