ata_thr_state_name

Name

ata_thr_state_name --  convert thread state enum to string

Synopsis

const char * ata_thr_state_name (unsigned int thr_state);

Arguments

thr_state

thread state to be converted to string

Description

Converts the specified thread state id to a constant C string.

LOCKING

None.

RETURNS

The THR_xxx-prefixed string naming the specified thread state id, or the string "<invalid THR_xxx state>".