pub fn curr_tid() -> Option<MTTaskId>
    {
        if let Some(tm) = mtkernel_get_ref() {
            tm.curr_tid()
        }
        else {
            None
        }
    }
/// Gets task identifier of a current running task if any.
/// * Returns task identifier in `Option`.

Gets task identifier of a current running task if any.
Returns task identifier in `Option`.
Gets task identifier of a current running task if any . Returns task identifier in ` Option ` .
pub fn curr_tid() -> Option<MTTaskId>
    {
        if let Some(tm) = mtkernel_get_ref() {
            tm.curr_tid()
        }
        else {
            None
        }
    }
pub fn curr_tid ( ) -> Option < MTTaskId > { if let Some ( tm ) = mtkernel_get_ref ( ) { tm . curr_tid ( ) } else { None } }
Gets task identifier of a current running task if any.
Gets task identifier of a current running task if any .