Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312458 - [TMF] Problem with end-of-request when processing synthetic events
Summary: [TMF] Problem with end-of-request when processing synthetic events
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 301615
  Show dependency tree
 
Reported: 2010-05-11 11:59 EDT by Francois Chouinard CLA
Modified: 2022-01-13 14:53 EST (History)
1 user (show)

See Also:


Attachments
Null event patch (11.04 KB, patch)
2010-05-11 11:59 EDT, Francois Chouinard CLA
fchouinard: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Chouinard CLA 2010-05-11 11:59:21 EDT
Events queues are used (in a Producer/Consumer model) to pass data asynchronously between the various application components/layers. Unfortunately, null objects can't be queued by the Producer to indicate to the Consumer that the request is completed.

This was one of the causes of a problem with the LTTng synthetic event provider being stuck waiting for an end of a request that never came.

The solution is to introduce a NullEvent that acts as EOF. Due to the use of generics in TmfDataProvider, this has some impacts here and there...
Comment 1 Francois Chouinard CLA 2010-05-11 11:59:53 EDT
Created attachment 167951 [details]
Null event patch
Comment 2 Francois Chouinard CLA 2010-05-11 12:02:12 EDT
Patch committed.
Comment 3 Francois Chouinard CLA 2010-07-08 10:17:17 EDT
Released in a past delivery.