We’ll do it eventually...
Future methodsFor: 'initialization/dispatching'
promising: aBlock
"Create a semaphore, and fork a block that
will signal it. The result of this block is stored
in result..."
semaphore := Semaphore new.
[result := aBlock value.
semaphore signal] fork.
^self
Previous slide
Next slide
Back to first slide
View graphic version