FogBugz (Fall [Issue]20544) _Inbox - Monitor waitUntil:maxMilliseconds: does not reqpect

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

FogBugz (Fall [Issue]20544) _Inbox - Monitor waitUntil:maxMilliseconds: does not reqpect

Pharo Issue Tracker
FogBugz Notification
avatar
Manuel Leuenberger opened Case 20544: Monitor waitUntil:maxMilliseconds: does not reqpect and assigned it to Everyone:
Bug in Project:  _Inbox: Not Spam  •  You are subscribed to this case
Steps to reproduce:

monitor := Monitor new.
monitor critical: [ monitor waitUntil: [ false ] maxMilliseconds: 100 ].
'finished' logCr

Run in playground.

Observed behavior: 'finished' is never logged in Transcript.
Expected behavior: 'finished' should be logged in Transcript after 100ms.

The code should wait on the condition, which is never met, or time out after 100 and continue with logging 'finished'. What actually happens is, that the monitor will always wait for the condition, completely ignoring the timeout. I tried all different scheduler, no change.

At least build 60512 is affected from Pharo 6, apparently also Pharo 7.
Priority Priority: 3 – Must Fix Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Later

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want FogBugz notifications anymore? Update your preferences.

FogBugz

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker