| Summary: | Supply generalized event processing routines | ||
|---|---|---|---|
| Product: | [Tools] TCF | Reporter: | Peder Andersen <Peder.Andersen> |
| Component: | Agent | Assignee: | Project Inbox <tcf.agent-inbox> |
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | eugene |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Attachments: | |||
Created attachment 190915 [details]
2 - decouple generic event queues from TCF's event dispatch
Legal Message: I, Peder Andersen, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL and EDL. I am authorized by my employer, Wind River, to make this
contribution under the EPL and EDL.
Created attachment 190917 [details]
3 - Moved delayed event handling into a separate generic queue
Legal Message: I, Peder Andersen, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL and EDL. I am authorized by my employer, Wind River, to make this
contribution under the EPL and EDL.
Created attachment 190918 [details]
4 - event queue callback argument is now the event node pointer
Legal Message: I, Peder Andersen, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL and EDL. I am authorized by my employer, Wind River, to make this
contribution under the EPL and EDL.
Created attachment 190919 [details]
5 - make timed event queue a singleton
Legal Message: I, Peder Andersen, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL and EDL. I am authorized by my employer, Wind River, to make this
contribution under the EPL and EDL.
Created attachment 190920 [details]
6 - Fixed timed event queue cancellation
Legal Message: I, Peder Andersen, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL and EDL. I am authorized by my employer, Wind River, to make this
contribution under the EPL and EDL.
After discussing this, agreement is do not include generic event queues support into TCF. Clients can implement such support them-self if needed. Changing status to NOT_ECLIPSE. |
Created attachment 190914 [details] 1 - generalize event processing thread routines Best practices for writing command callback functions dictate that they return reasonably promptly, and never block indefinitely. To accomplish this, many services provided by external packages will want to defer portions of their command handler logic to their own event queues. Rather than have every plugin implement their own event queue, it makes sense to generalize and expose TCF's own event logic. The attached patch series accomplishes this. In particular, note that the first patch generalizes the existing event queue. The second patch creates a new generic event queue object, and reverts TCF's event loop back to using its original logic. Subsequent patches evolve the generic event queue, leaving TCF's original event logic untouched. Legal Message: I, Peder Andersen, declare that I developed attached code from scratch, without referencing any 3rd party materials except material licensed under the EPL and EDL. I am authorized by my employer, Wind River, to make this contribution under the EPL and EDL.