I need to get PID of specific QThread in linux. getpid
returns pid of parent process. getCurrentThreadId
returns Qt inner code. Is there any other way?
Asked
Active
Viewed 1,060 times
1 Answers
1
Found the answer there: https://stackoverflow.com/a/21280941/2656799
It is in use of syscall(SYS_gettid)

ephemerr
- 1,833
- 19
- 22