Changes between Version 9 and Version 10 of kernel_context
- Timestamp:
- Sep 9, 2015, 6:18:40 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_context
v9 v10 8 8 9 9 10 === unsigned int '''_get_current_task_id'''( void ) === 11 This function returns the local index of the currently running task. 10 === unsigned int '''_get_thread_ltid'''( void ) === 11 This function returns the local index of the calling thread (scheduler index). 12 13 === unsigned int '''_get_thread_trdid'''( void ) === 14 This function returns the global thread identifier of the calling thread (x<<24 + y<<16 + p<<8 + ltid). 12 15 13 16 === unsigned int '''_get_task_slot'''( unsigned int x, unsigned int y, unsigned int p, unsigned int ltid, unsigned int slot ) ===