Lines Matching defs:thread_id

295 const char *osThreadGetName(osThreadId_t thread_id)

299 if (OS_INT_ACTIVE || thread_id == NULL) {
303 pstTaskCB = (LosTaskCB *)thread_id;
326 osThreadState_t osThreadGetState(osThreadId_t thread_id)
332 if (OS_INT_ACTIVE || thread_id == NULL) {
336 pstTaskCB = (LosTaskCB *)thread_id;
356 uint32_t osThreadGetStackSize(osThreadId_t thread_id)
360 if (OS_INT_ACTIVE || thread_id == NULL) {
364 pstTaskCB = (LosTaskCB *)thread_id;
402 uint32_t osThreadGetStackSpace(osThreadId_t thread_id)
406 if (OS_INT_ACTIVE || thread_id == NULL) {
410 pstTaskCB = (LosTaskCB *)thread_id;
415 osStatus_t osThreadSetPriority(osThreadId_t thread_id, osPriority_t priority)
425 if (thread_id == NULL) {
434 pstTaskCB = (LosTaskCB *)thread_id;
450 osPriority_t osThreadGetPriority(osThreadId_t thread_id)
455 if (OS_INT_ACTIVE || thread_id == NULL) {
459 pstTaskCB = (LosTaskCB *)thread_id;
486 osStatus_t osThreadSuspend(osThreadId_t thread_id)
495 if (thread_id == NULL) {
499 pstTaskCB = (LosTaskCB *)thread_id;
517 osStatus_t osThreadResume(osThreadId_t thread_id)
526 if (thread_id == NULL) {
530 pstTaskCB = (LosTaskCB *)thread_id;
546 osStatus_t osThreadDetach(osThreadId_t thread_id)
549 LosTaskCB *taskCB = (LosTaskCB *)thread_id;
551 if (thread_id == NULL) {
565 osStatus_t osThreadJoin(osThreadId_t thread_id)
568 LosTaskCB *taskCB = (LosTaskCB *)thread_id;
570 if (thread_id == NULL) {
584 osStatus_t osThreadTerminate(osThreadId_t thread_id)
593 if (thread_id == NULL) {
597 pstTaskCB = (LosTaskCB *)thread_id;
1713 uint32_t osThreadFlagsSet(osThreadId_t thread_id, uint32_t flags)
1715 LosTaskCB *taskCB = (LosTaskCB *)thread_id;