I was analyzing lttng trace for AudioTrack thread, so at the time of glitch it shows thread state as WAIT_BLOCKED
. Can anyone please tell what is the meaning of thread state WAIT_BLOCKED
. Here is the screenshot
Asked
Active
Viewed 124 times
0

Banana
- 2,435
- 7
- 34
- 60

Ameer ali khan
- 965
- 7
- 10
-
orange bar in AudioTrack thread shows WAIT_BLOCKED – Ameer ali khan Jan 26 '18 at 12:47
1 Answers
0
WAIT_BLOCKED
means that the thread has been scheduled out for being blocked on something, as opposed to a thread that would've been scheduled out due to preemption, in which case the state would be WAIT_FOR_CPU
.
By itself, it doesn't tell us what exactly the thread is waiting for. It might be disk I/O or something else, you'd need to look at the context before and after the thread is in this state to figure that out.

abusque
- 178
- 2
- 7