Ticket #295: ffado-threadnames.patch
| File ffado-threadnames.patch, 0.6 kB (added by adi, 2 years ago) |
|---|
-
a/libffado/src/libutil/PosixThread.cpp
old new 51 51 #include <string.h> // for memset 52 52 #include <errno.h> 53 53 #include <assert.h> 54 #include <sys/prctl.h> 54 55 55 56 namespace Util 56 57 { … … 75 76 return 0; 76 77 } 77 78 79 prctl(PR_SET_NAME, obj->m_id.c_str()); 80 78 81 debugOutput( DEBUG_LEVEL_VERBOSE, "(%s) ThreadHandler: start %p\n", obj->m_id.c_str(), obj); 79 82 80 83 // If Init succeed start the thread loop
