mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
fixed 49851 - deadlock when binary parser was changed while binary runner was running for that project.
This commit is contained in:
parent
7a06b48359
commit
a33d942f28
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-1-5 David Inglis
|
||||
|
||||
PR 49851
|
||||
Fixed deadlock when binary parser was changed while binary runner was running
|
||||
for that project.
|
||||
|
||||
* model/org/eclipse/cdt/internal/core/model/CModelManager.java
|
||||
|
||||
2004-01-09 Alain Magloire
|
||||
|
||||
* utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java
|
||||
|
|
|
@ -342,7 +342,7 @@ public class CModelManager implements IResourceChangeListener {
|
|||
CProjectInfo info = (CProjectInfo)peekAtInfo(cproject);
|
||||
if (info != null && info.vBin != null) {
|
||||
if (peekAtInfo(info.vBin) != null) {
|
||||
IBinary[] bins = info.vBin.getBinaries();
|
||||
ICElement[] bins = info.getChildren();
|
||||
for (int i = 0; i < bins.length; i++) {
|
||||
if (celement.getPath().isPrefixOf(bins[i].getPath())) {
|
||||
CElementDelta delta = new CElementDelta(getCModel());
|
||||
|
@ -355,7 +355,7 @@ public class CModelManager implements IResourceChangeListener {
|
|||
}
|
||||
if (info != null && info.vLib != null) {
|
||||
if (peekAtInfo(info.vLib) != null) {
|
||||
IArchive[] ars = info.vLib.getArchives();
|
||||
ICElement[] ars = info.vLib.getChildren();
|
||||
for (int i = 0; i < ars.length; i++) {
|
||||
if (celement.getPath().isPrefixOf(ars[i].getPath())) {
|
||||
CElementDelta delta = new CElementDelta(getCModel());
|
||||
|
|
Loading…
Add table
Reference in a new issue