Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364396

Summary: leverage static initialization of lists
Product: [Tools] TCF Reporter: Peder Andersen <Peder.Andersen>
Component: AgentAssignee: Project Inbox <tcf.agent-inbox>
Status: RESOLVED FIXED QA Contact: Eugene Tarassov <eugene>
Severity: enhancement    
Priority: P3 CC: cdtdoug, mober.at+eclipse
Version: unspecified   
Target Milestone: 0.6.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Proposed changes mober.at+eclipse: iplog-

Description Peder Andersen CLA 2011-11-21 12:43:06 EST
Created attachment 207320 [details]
Proposed changes

By adding and using a static initializer for TCF's list structures, we gain more concise sources, marginally faster/smaller binaries, and also enable use of certain TCF APIs before the associated service has had its ini_<service>() routine invoked.
Comment 1 Eugene Tarassov CLA 2011-11-21 13:25:20 EST
I have committed the patch.
Thanks!
Comment 2 Martin Oberhuber CLA 2013-05-24 17:57:17 EDT
Comment on attachment 207320 [details]
Proposed changes

iplog- since git has the author:

http://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/commit/?id=b7a76d5c2e04197a05f52d99a2401457b77ca83b