Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348472

Summary: Eugenia: race condition when generating models
Product: [Modeling] Epsilon Reporter: Antonio Garcia-Dominguez <agarcdomi>
Component: CoreAssignee: Antonio Garcia-Dominguez <agarcdomi>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dkolovos
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: interim

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