From 40e5a13399fc10d914b3d54e374cec8bc0d78dca Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 27 May 2004 13:33:03 +0000 Subject: [PATCH] corrected eventrequst so it is in the main window, given to viewers as hook_data : there can be many eventrequests from the same viewer. git-svn-id: http://ltt.polymtl.ca/svn@564 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/doc/developer/lttvwindow_events_delivery.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ltt/branches/poly/doc/developer/lttvwindow_events_delivery.txt b/ltt/branches/poly/doc/developer/lttvwindow_events_delivery.txt index 05444b3e..081a9805 100644 --- a/ltt/branches/poly/doc/developer/lttvwindow_events_delivery.txt +++ b/ltt/branches/poly/doc/developer/lttvwindow_events_delivery.txt @@ -166,13 +166,14 @@ each viewer through process traceset. - lttvwindow_events_request -It adds the a pointer to the EventsRequest struct to the array of time requests +It adds the an EventsRequest struct to the array of time requests pending and registers a pending request for the next g_idle if none is -registered. The viewer has to keep a reference to this structure in its own -instance data structure. Only the stop_flag can be changed by the viewer -through the event hooks. +registered. The viewer can access this structure during the read as its +hook_data. Only the stop_flag can be changed by the viewer through the +event hooks. typedef struct _EventsRequest { + gpointer viewer_data; LttTime start_time, /* Unset : { 0, 0 } */ LttvTracesetContextPosition start_position, /* Unset : num_traces = 0 */ gboolean stop_flag, /* Continue:TRUE Stop:FALSE */ -- 2.34.1