[Seaside] Long running delays (was Re: [ShoreComponents] WebTree,
SVG demo and dynamic files)
rh at 4096.sk
Tue Jul 12 13:47:32 CEST 2005
On Tue, 12 Jul 2005, radoslav hodnicak wrote:
> I remember having problem in visualworks with long running delays (note to
> Dave - delays that run repeatedly for a long time, not delays that wait a
> long time) which was related to a race condition in Semaphore>>critical:
> implementation. As far as I know the problem is still there (as of VW 7.3.1).
> Are you using VW? If yes look at this thread
Btw the test from that thread fails in Squeak too. If you change
Semaphore>>critical: like this
| blockValue |
[self wait] ifCurtailed: [self signal].
[blockValue := mutuallyExcludedBlock value]
ensure: [self signal].
then it passes. I'm not sure if this is a proper fix though.
More information about the Seaside