I think it was not only because of the LSB non-compliance, but also because
having a syscall within logtrace is costly, bad!
The followup discussions ended with suggestions of using pthread_self() or
variatns of pthread_getthreadid(whichever is appropriate)
And also to avoid obtaining the thread id in every call of logtrace!
FYI
Mathi.
From: Anders Widell [mailto:[email protected]]
Sent: Monday, December 07, 2015 2:16 PM
To: [email protected]
Subject: [tickets] [opensaf:tickets] #1622 base: Include thread id in trace
when supported
_____
HYPERLINK "http://sourceforge.net/p/opensaf/tickets/1622/"[tickets:#1622] base:
Include thread id in trace when supported
Status: unassigned
Milestone: 5.0.FC
Created: Mon Dec 07, 2015 08:45 AM UTC by Anders Widell
Last Updated: Mon Dec 07, 2015 08:45 AM UTC
Owner: nobody
Logging of thread id in trace files was removed in changeset 1676:29a0e85f7707
HYPERLINK
"http://sourceforge.net/p/opensaf/staging/ci/29a0e85f770763d19bf231a135a5f58ccda2a2fd/"[29a0e8]
since gettid() is not part of LSB. We could re-introduce this feature by
loading the gettid symbol dynamically. If the symbol is not avialable, we can
simply skip logging the thread id.
_____
Sent from sourceforge.net because HYPERLINK
"mailto:[email protected]"[email protected]
is subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets