Changes between Version 10 and Version 11 of kernel_context


Ignore:
Timestamp:
Dec 23, 2016, 4:56:39 PM (8 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_context

    v10 v11  
    88
    99
    10  === unsigned int '''_get_thread_ltid'''( void ) ===
     10 === 1) unsigned int '''_get_thread_ltid'''( void ) ===
    1111This function returns the local index of the calling thread (scheduler index).
    1212
    13  === unsigned int '''_get_thread_trdid'''( void ) ===
     13 === 2) unsigned int '''_get_thread_trdid'''( void ) ===
    1414This function returns the global thread identifier of the calling thread (x<<24 + y<<16 + p<<8 + ltid).
    1515
    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 ) ===
    1717This function returns the content of a context slot for any task running on any processor.
    1818 * '''x''' : cluster x coordinate
     
    2222 * '''slot''' : slot index
    2323
    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 ) ===
    2525This function updates the content of a context slot for any task running on any processor.
    2626 * '''x''' : cluster x coordinate
     
    3030 * '''slot''' : slot index
    3131
    32  === unsigned int '''_get_context_slot'''( unsigned int slot ) ===
     32 === 5) unsigned int '''_get_context_slot'''( unsigned int slot ) ===
    3333This function returns the content of a context slot for the calling task.
    3434
    35  === void '''_set_context_slot'''( unsigned int slot,  unsigned int value ) ===
     35 === 5) void '''_set_context_slot'''( unsigned int slot,  unsigned int value ) ===
    3636This function updates the content of a context slot for the calling task.
    3737