Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003523 [Croquet] Any minor always 05-02-06 01:45 06-19-06 21:49
Reporter bfowlow View Status public  
Assigned To andreas
Priority normal Resolution fixed  
Status resolved  
Summary 0003523: WorldState runStepMethodsIn:aWorld can block
Description
This code from WorldState runStepMethodsIn: aWorld
is vulnerable to a race condition:

    queue := self class deferredUIMessages.
    [queue isEmpty] whileFalse: [
        queue next value
    ].


which can lead an individual call blocking on 'queue next'
if another world cycle grabs the last message from
the queue between the 'queue isEmpty' check and the 'queue next' call.


Additional Information
Attached Files

- Relationships

- Notes
(0005283 - 18 - 18 - 18 - 18 - 18 - 18)
andreas
06-19-06 21:49

In the repository.
 

- Issue History
Date Modified Username Field Change
05-02-06 01:45 bfowlow New Issue
06-19-06 21:49 andreas Status new => resolved
06-19-06 21:49 andreas Resolution open => fixed
06-19-06 21:49 andreas Assigned To  => andreas
06-19-06 21:49 andreas Note Added: 0005283


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
35 total queries executed.
30 unique queries executed.
Powered by Mantis Bugtracker