Changeset 527 for trunk/kernel/kern/thread.c
- Timestamp:
- Aug 30, 2018, 10:26:27 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/thread.c
r518 r527 53 53 // This function returns a printable string for the thread type. 54 54 ////////////////////////////////////////////////////////////////////////////////////// 55 char * thread_type_str( uint32_t type ) 56 { 57 if ( type == THREAD_USER ) return "USR"; 58 else if( type == THREAD_RPC ) return "RPC"; 59 else if( type == THREAD_DEV ) return "DEV"; 60 else if( type == THREAD_IDLE ) return "IDL"; 61 else return "undefined"; 55 const char * thread_type_str( thread_type_t type ) 56 { 57 switch ( type ) { 58 case THREAD_USER: return "USR"; 59 case THREAD_RPC: return "RPC"; 60 case THREAD_DEV: return "DEV"; 61 case THREAD_IDLE: return "IDL"; 62 default: return "undefined"; 63 } 62 64 } 63 65
Note: See TracChangeset
for help on using the changeset viewer.