diff options
Diffstat (limited to 'agent/tcf/services/runctrl.h')
-rw-r--r-- | agent/tcf/services/runctrl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/agent/tcf/services/runctrl.h b/agent/tcf/services/runctrl.h index 018ab379..528e0fdd 100644 --- a/agent/tcf/services/runctrl.h +++ b/agent/tcf/services/runctrl.h @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2015 Wind River Systems, Inc. and others. + * Copyright (c) 2007, 2016 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v1.0 which accompany this distribution. @@ -187,6 +187,13 @@ extern int get_stepping_mode(Context * ctx); */ extern void set_context_state_name(Context * ctx, const char * name); +/** + * Check that no safe events are pending, run control is not locked, + * and no temporary suspended contexts are waiting to be resumed. + * Clients might want to delay disconnecting from a target until run control is idle. + */ +extern int is_run_ctrl_idle(void); + /* RunControl event listener */ typedef struct RunControlEventListener { void (*context_intercepted)(Context * ctx, void * args); |