[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[dsdp-tcf-dev] [Bug 323867] New: Need a way to restart an event loop in C TCF agent
|
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323867
Product/Component: Target Management / TCF
Summary: Need a way to restart an event loop in C TCF agent
Classification: DSDP
Product: Target Management
Version: 3.2
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P3
Component: TCF
AssignedTo: dsdp.tm.tcf-inbox@xxxxxxxxxxx
ReportedBy: ed.swartz@xxxxxxxxx
QAContact: martin.oberhuber@xxxxxxxxxxxxx
I was experimenting and had a need to stop and restart the TCF event loop. I
invoked "cancel_event_loop", for instance, and then tried re-running
"run_event_loop".
But in events.c, the "process_events" variable is a static int, initialized to
1. If you invoke "cancel_event_loop", this sets it to zero. But there's no
way to restore the value, thus the next time you call "run_event_loop", it
exits immediately.
Should run_event_loop initialize "process_events" to 1, or should there be a
new function that will restore this variable?
--
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.