Bug 307094 - [Build] Potential race at start of Project build
Summary: [Build] Potential race at start of Project build
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on: 198591
Blocks: 311205 289986 296800 305858 306824
  Show dependency tree
 
Reported: 2010-03-25 11:53 EDT by James Blackburn CLA
Modified: 2022-01-09 01:44 EST (History)
29 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Blackburn CLA 2010-03-25 11:53:04 EDT
+++ This bug was initially created as a clone of Bug #198591 +++

As per bug 198591 comment 59 there's the risk of a race when IProject#build is called from multiple threads simultaneously.

The result is that there's the possibility of a PRE_BUILD event followed immediately by another PRE_BUILD event without an intervening POST_BUILD event.

The second build will either be blocked behind the first (if they have conflicting scheduling rules), or will return if they don't, so two builds won't happen in parallel.
Comment 1 Martin Oberhuber CLA 2010-04-20 10:25:14 EDT
Would this be fixed by the patch attached to bug 307098, which ensures that builds are always enqueued (only one builder runs at any one time) ?
Comment 2 Eclipse Webmaster CLA 2019-09-06 15:30:45 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 3 Eclipse Genie CLA 2022-01-09 01:44:57 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.