Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348472 - Eugenia: race condition when generating models
Summary: Eugenia: race condition when generating models
Status: CLOSED FIXED
Alias: None
Product: Epsilon
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Antonio Garcia-Dominguez CLA
QA Contact:
URL:
Whiteboard: interim
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-06 16:26 EDT by Antonio Garcia-Dominguez CLA
Modified: 2012-02-06 10:59 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Garcia-Dominguez CLA 2011-06-06 16:26:04 EDT
Due to the way Eugenia waits for a file to be produced, sometimes it keeps on waiting forever for a file. It's not too noticeable in a single-core or dual-core computer, but it seems to be more frequent in quad-core machines.

Normally, Eugenia starts the transformation to generate the models, refreshes the models and then waits for the file indefinitely. I think it would be safer to start generating the models and then refresh and check if the file exists repeatedly, with a slight delay between checks to avoid hogging the CPU.
Comment 1 Antonio Garcia-Dominguez CLA 2011-06-06 16:40:35 EDT
Fixed in SVN r1497.
Comment 2 Dimitris Kolovos CLA 2011-07-25 08:18:23 EDT
Fixed in 0.9.1