Hello,
In a multithread context, knowing from which thread log messages are
printed is very valuable during debugging. This series adds support for
retrieving the ID of the current thread in patch 1/2, and prints it in
the log in patch 2/2.
Laurent Pinchart (2):
libcamera: thread: Add a method to return the ID of the current thread
libcamera: log: Print the thread ID in the log
src/libcamera/include/thread.h | 2 ++
src/libcamera/log.cpp | 4 +++-
src/libcamera/thread.cpp | 20 ++++++++++++++++++++
3 files changed, 25 insertions(+), 1 deletion(-)