Possible thread states


I’m trying to debug a programm with GDB.
I use the command “info threads” to see all running threads and theirs states.
In this case I get some output like:

36 process 44 (state = 0x0d) …
35 process 43 (state = 0x05) …
34 process 42 (state = 0x11) …

I know all possible states of a thread (wait thread, mutex, interrupt, running …) but I don’t know the mapping to the hexadecimal values (see above).

Can you help me ???

take a look in /usr/include/sys/states.h