Home
last modified time | relevance | path

Searched refs:ptcb (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/posix/src/
A Dpthread.c31 if (ptcb == NULL) { in pthread_cleanup_pop()
51 if (ptcb == NULL) { in pthread_cleanup_push()
99 ptcb->task = NULL; in pthread_exit()
112 free(ptcb); in pthread_exit()
124 pthread_exit(ptcb->thread_entry(ptcb->thread_para)); in start_pthread()
190 ret = aos_task_ptcb_set(&(ptcb->task), ptcb); in pthread_create()
197 *thread = ptcb; in pthread_create()
215 free(ptcb); in pthread_create()
300 free(ptcb); in pthread_timedjoin_np()
445 ret = aos_task_ptcb_set(&(ptcb->task), ptcb); in pthread_self()
[all …]
A Dsched.c49 pthread_tcb_t *ptcb = NULL; in sched_setscheduler() local
54 ptcb = sched_get_ptcb(pid); in sched_setscheduler()
55 if (ptcb == NULL) { in sched_setscheduler()
99 pthread_tcb_t *ptcb = NULL; in sched_getscheduler() local
101 ptcb = sched_get_ptcb(pid); in sched_getscheduler()
102 if (ptcb == NULL) { in sched_getscheduler()
119 pthread_tcb_t *ptcb = NULL; in sched_setparam() local
124 ptcb = sched_get_ptcb(pid); in sched_setparam()
125 if (ptcb == NULL) { in sched_setparam()
174 if (ptcb == NULL) { in sched_getparam()
[all …]
/AliOS-Things-master/hardware/board/haaseduk1/config/
A Dk_config.c105 _pthread_tcb_t *ptcb; in krhino_task_del_hook() local
111 ptcb = _pthread_get_tcb(task); in krhino_task_del_hook()
113 if (ptcb == NULL) { in krhino_task_del_hook()
125 cleanup = ptcb->cleanup; in krhino_task_del_hook()
127 ptcb->cleanup = cleanup->prev; in krhino_task_del_hook()
131 } while (ptcb->cleanup != NULL); in krhino_task_del_hook()
145 if (ptcb->join_sem != NULL) { in krhino_task_del_hook()
146 krhino_sem_give(ptcb->join_sem); in krhino_task_del_hook()
156 if (ptcb->join_sem != NULL) { in krhino_task_del_hook()
157 krhino_sem_dyn_del(ptcb->join_sem); in krhino_task_del_hook()
[all …]
/AliOS-Things-master/components/posix/src/internal/
A Dpthread.h51 pthread_tcb_t* ptcb = (pthread_tcb_t*)thread; in __pthread_get_tcb() local
53 if ((ptcb == NULL) || (ptcb->magic != PTHREAD_TCB_MAGIC)) { in __pthread_get_tcb()
57 return ptcb; in __pthread_get_tcb()
/AliOS-Things-master/components/osal_aos/rhino/
A Daos_task.c233 aos_status_t aos_task_ptcb_get(aos_task_t *task, void **ptcb) in aos_task_ptcb_get() argument
237 if (ptcb == NULL) { in aos_task_ptcb_get()
242 *(ptcb) = ((ktask_t *)*task)->ptcb; in aos_task_ptcb_get()
248 aos_status_t aos_task_ptcb_set(aos_task_t *task, void *ptcb) in aos_task_ptcb_set() argument
254 ((ktask_t *)*task)->ptcb = ptcb; in aos_task_ptcb_set()
/AliOS-Things-master/components/osal_aos/include/aos/
A Drhino.h24 aos_status_t aos_task_ptcb_get(aos_task_t *task, void **ptcb);
34 aos_status_t aos_task_ptcb_set(aos_task_t *task, void *ptcb);
/AliOS-Things-master/kernel/rhino/include/
A Dk_task.h166 void *ptcb; /* pthread control block */ member
/AliOS-Things-master/hardware/chip/haas1000/drivers/rtos/rhino/cmsis/
A Dcmsis_os.h210 ktask_t *ptcb; member

Completed in 16 milliseconds