[Seaside] WAProcess>>critical:ifError problem
Esteban A. Maringolo
eMaringolo at smalltalking.net
Fri Nov 4 22:27:42 CET 2005
I'm having problems with the following method in WAProcess, on a
Dolphin 5 Smalltalk:
critical: aBlock ifError: errorBlock
responseSem := Semaphore new.
process := [
[value := aBlock on: Error do: errorBlock]
ensure: [responseSem signal]
process := nil.
After evaluating aBlock value gets its contents (a WAResponse).
But when the mutex ends the critical evaluation, value is nil.
Perhaps it has something with the Continuations that happens inside
the process, or something similar.
What can be causing this?
This message is cross posted to Seaside list, and Dolphin newsgroup
More information about the Seaside