Lines 15-20
Link Here
|
15 |
* Martin Oberhuber (Wind River) - [184095] Replace systemTypeName by IRSESystemType |
15 |
* Martin Oberhuber (Wind River) - [184095] Replace systemTypeName by IRSESystemType |
16 |
* Martin Oberhuber (Wind River) - [177523] Unify singleton getter methods |
16 |
* Martin Oberhuber (Wind River) - [177523] Unify singleton getter methods |
17 |
* Martin Oberhuber (Wind River) - [175680] Deprecate obsolete ISystemRegistry methods |
17 |
* Martin Oberhuber (Wind River) - [175680] Deprecate obsolete ISystemRegistry methods |
|
|
18 |
* Martin Oberhuber (Wind River) - [196919] Fix deadlock with workspace operations |
18 |
********************************************************************************/ |
19 |
********************************************************************************/ |
19 |
|
20 |
|
20 |
package org.eclipse.rse.internal.persistence; |
21 |
package org.eclipse.rse.internal.persistence; |
Lines 94-100
Link Here
|
94 |
/* (non-Javadoc) |
95 |
/* (non-Javadoc) |
95 |
* @see org.eclipse.rse.persistence.IRSEPersistenceManager#isExporting() |
96 |
* @see org.eclipse.rse.persistence.IRSEPersistenceManager#isExporting() |
96 |
*/ |
97 |
*/ |
97 |
public synchronized boolean isBusy() { |
98 |
public boolean isBusy() { |
98 |
return mutex.isLocked(); |
99 |
return mutex.isLocked(); |
99 |
} |
100 |
} |
100 |
|
101 |
|
Lines 382-388
Link Here
|
382 |
* @param profileName the name of the profile to produce |
383 |
* @param profileName the name of the profile to produce |
383 |
* @return the profile or null |
384 |
* @return the profile or null |
384 |
*/ |
385 |
*/ |
385 |
private synchronized ISystemProfile load(IRSEPersistenceProvider provider, String profileName, long timeout) { |
386 |
private ISystemProfile load(IRSEPersistenceProvider provider, String profileName, long timeout) { |
386 |
ISystemProfile profile = null; |
387 |
ISystemProfile profile = null; |
387 |
if (mutex.waitForLock(null, timeout)) { |
388 |
if (mutex.waitForLock(null, timeout)) { |
388 |
try { |
389 |
try { |