Changeset 1894
- Timestamp:
- 09/12/10 12:48:12 (14 years ago)
- Files:
-
- trunk/libffado/src/libutil/PosixThread.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/libutil/PosixThread.cpp
r1763 r1894 52 52 #include <errno.h> 53 53 #include <assert.h> 54 #include <sys/prctl.h> 54 55 55 56 namespace Util … … 75 76 return 0; 76 77 } 78 79 std::string threadname = std::string("FW_") + obj->m_id; 80 prctl(PR_SET_NAME, threadname.c_str()); 77 81 78 82 debugOutput( DEBUG_LEVEL_VERBOSE, "(%s) ThreadHandler: start %p\n", obj->m_id.c_str(), obj);