Changes between Version 10 and Version 11 of kernel_context
- Timestamp:
- Dec 23, 2016, 4:56:39 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_context
v10 v11 8 8 9 9 10 === unsigned int '''_get_thread_ltid'''( void ) ===10 === 1) unsigned int '''_get_thread_ltid'''( void ) === 11 11 This function returns the local index of the calling thread (scheduler index). 12 12 13 === unsigned int '''_get_thread_trdid'''( void ) ===13 === 2) unsigned int '''_get_thread_trdid'''( void ) === 14 14 This function returns the global thread identifier of the calling thread (x<<24 + y<<16 + p<<8 + ltid). 15 15 16 === unsigned int '''_get_task_slot'''( unsigned int x, unsigned int y, unsigned int p, unsigned int ltid, unsigned int slot ) ===16 === 3) unsigned int '''_get_task_slot'''( unsigned int x, unsigned int y, unsigned int p, unsigned int ltid, unsigned int slot ) === 17 17 This function returns the content of a context slot for any task running on any processor. 18 18 * '''x''' : cluster x coordinate … … 22 22 * '''slot''' : slot index 23 23 24 === void '''_set_task_slot'''( unsigned int x, unsigned int y, unsigned int p, unsigned int ltid, unsigned int slot, unsigned int value ) ===24 === 4) void '''_set_task_slot'''( unsigned int x, unsigned int y, unsigned int p, unsigned int ltid, unsigned int slot, unsigned int value ) === 25 25 This function updates the content of a context slot for any task running on any processor. 26 26 * '''x''' : cluster x coordinate … … 30 30 * '''slot''' : slot index 31 31 32 === unsigned int '''_get_context_slot'''( unsigned int slot ) ===32 === 5) unsigned int '''_get_context_slot'''( unsigned int slot ) === 33 33 This function returns the content of a context slot for the calling task. 34 34 35 === void '''_set_context_slot'''( unsigned int slot, unsigned int value ) ===35 === 5) void '''_set_context_slot'''( unsigned int slot, unsigned int value ) === 36 36 This function updates the content of a context slot for the calling task. 37 37