[Pkg] The Trunk: Kernel-ul.523.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Dec 12 15:23:24 UTC 2010


Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.523.mcz

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

Name: Kernel-ul.523
Author: ul
Time: 8 December 2010, 4:45:41.467 am
UUID: 809ca265-c5de-ac47-b6d6-226f80cf9245
Ancestors: Kernel-ul.522

- added Semaphore >> #waitIfLocked:

=============== Diff against Kernel-ul.522 ===============

Item was added:
+ ----- Method: Semaphore>>waitIfLocked: (in category 'communication') -----
+ waitIfLocked: aBlock
+ 	"Use a signal if available, otherwise evaluate aBlock"
+ 
+ 	excessSignals == 0 ifTrue: [ ^aBlock value ].
+ 	excessSignals := excessSignals - 1!



More information about the Packages mailing list