mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-18 14:35:23 +02:00
Added annotation @ThreadSafeAndProhibitedFromDsfExecutor.
This commit is contained in:
parent
eeb0105c4d
commit
fe347ce364
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,7 @@ import org.eclipse.dd.dsf.concurrent.ImmediateExecutor;
|
||||||
import org.eclipse.dd.dsf.concurrent.RequestMonitor;
|
import org.eclipse.dd.dsf.concurrent.RequestMonitor;
|
||||||
import org.eclipse.dd.dsf.concurrent.Sequence;
|
import org.eclipse.dd.dsf.concurrent.Sequence;
|
||||||
import org.eclipse.dd.dsf.concurrent.ThreadSafe;
|
import org.eclipse.dd.dsf.concurrent.ThreadSafe;
|
||||||
|
import org.eclipse.dd.dsf.concurrent.ThreadSafeAndProhibitedFromDsfExecutor;
|
||||||
import org.eclipse.dd.dsf.service.DsfServiceEventHandler;
|
import org.eclipse.dd.dsf.service.DsfServiceEventHandler;
|
||||||
import org.eclipse.dd.dsf.service.DsfServicesTracker;
|
import org.eclipse.dd.dsf.service.DsfServicesTracker;
|
||||||
import org.eclipse.dd.dsf.service.DsfSession;
|
import org.eclipse.dd.dsf.service.DsfSession;
|
||||||
|
@ -96,6 +97,7 @@ public class GdbLaunch extends Launch
|
||||||
|
|
||||||
public DsfSession getSession() { return fSession; }
|
public DsfSession getSession() { return fSession; }
|
||||||
|
|
||||||
|
@ThreadSafeAndProhibitedFromDsfExecutor("getDsfExecutor()")
|
||||||
public void addInferiorProcess(String label) throws CoreException {
|
public void addInferiorProcess(String label) throws CoreException {
|
||||||
try {
|
try {
|
||||||
// Add the "inferior" process object to the launch.
|
// Add the "inferior" process object to the launch.
|
||||||
|
@ -120,6 +122,7 @@ public class GdbLaunch extends Launch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ThreadSafeAndProhibitedFromDsfExecutor("getDsfExecutor()")
|
||||||
public void addCLIProcess(String label) throws CoreException {
|
public void addCLIProcess(String label) throws CoreException {
|
||||||
try {
|
try {
|
||||||
// Add the CLI process object to the launch.
|
// Add the CLI process object to the launch.
|
||||||
|
|
Loading…
Add table
Reference in a new issue