From: compudj Date: Thu, 3 Jun 2004 19:39:05 +0000 (+0000) Subject: events req servicing v2, with background computation, mod X-Git-Tag: v0.12.20~2912 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=65bc060015b4d80832fe72bf02f58a3497cec47e;p=lttv.git events req servicing v2, with background computation, mod git-svn-id: http://ltt.polymtl.ca/svn@577 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/doc/developer/lttvwindow_events_delivery.txt b/ltt/branches/poly/doc/developer/lttvwindow_events_delivery.txt index 578abe0e..252f4c20 100644 --- a/ltt/branches/poly/doc/developer/lttvwindow_events_delivery.txt +++ b/ltt/branches/poly/doc/developer/lttvwindow_events_delivery.txt @@ -210,6 +210,29 @@ complete the servicing after a "stop" action. +Tab change + +If a tab change occurs, we still want to do background processing. +Events requests must be stocked in a list located in the same scope than the +traceset context. Right now, this is tab scope. All functions called from the +request servicing function must _not_ use the current_tab concept, as it may +change. The idle function must the take a tab, and not the main window, as +parameter. + +If a tab is removed, its associated idle events requests servicing function must +also be removed. + + + +Idle function (lttvwindow_process_pending_requests) + +The idle function must return FALSE to be removed from the idle functions when +no more events requests are pending. Otherwise, it returns TRUE. It will service +requests until there is no more request left. + + + + Implementation