| | 47 | === void '''_ctx_block'''( unsigned int norun_cause ) === |
| | 48 | This function set one (or several) bit(s) in the CTX_NORUN bit-vector of the calling thread, and deschedule the calling thread. |
| | 49 | * '''norun_cause''' : all non-zero bits in this 32 bits word are set. |
| | 50 | |
| | 51 | === void '''_ctx_unblock'''( unsigned int trdid, unsigned int norun_cause ) === |
| | 52 | This function reset one (or several) bit(s) in the CTX_NORUN bit-vector of the thread identified by the <trdid> argument. This function can be called by an ISR or another thread. |
| | 53 | * '''trdid''' : target thread identifier. |
| | 54 | * '''norun_cause''' : all non-zero bits in this 32 bits word are reset. |
| | 55 | |