[strongSwan-dev] [PATCH 8/8] Use thread id as retrieved by gettid in log messages
Thomas Egerer
thomas.egerer at secunet.com
Fri Nov 4 09:25:09 CET 2011
Especially when working with core dumps it proved useful to have
charon's log messages prefixed with the thread id instead of the
human readable thread number.
---
configure.in | 12 ++++++++++++
src/charon/charon.c | 5 +++++
src/libcharon/bus/bus.c | 4 ++++
src/libstrongswan/processing/processor.c | 10 ++++++++++
src/libstrongswan/threading/thread.c | 12 ++++++++++++
src/libstrongswan/threading/thread.h | 9 +++++++++
6 files changed, 52 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Use-thread-id-as-retrieved-by-gettid-in-log-messages.patch
Type: text/x-patch
Size: 4078 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20111104/27d85dd1/attachment.bin>
More information about the Dev
mailing list