Lines Matching refs:status
58 aos_status_t status; in taskA_entry() local
66 …status = aos_event_get(&event_handle, USER_EVENT_1 | USER_EVENT_2, AOS_EVENT_OR, &actl_flags, AOS_… in taskA_entry()
68 if (status != 0) { in taskA_entry()
94 aos_status_t status; in taskB_entry() local
101 …status = aos_event_get(&event_handle, USER_EVENT_1 | USER_EVENT_2, AOS_EVENT_AND, &actl_flags, AOS… in taskB_entry()
102 if (status != 0) { in taskB_entry()
126 aos_status_t status; in aos_event_example() local
134 status = aos_event_create(&event_handle, 0, 0); in aos_event_example()
135 if (status != 0) { in aos_event_example()
141 …status = aos_task_create(&taskA_handle, TASKA_NAME, taskA_entry, NULL, NULL, TASKA_STACKSIZE, TASK… in aos_event_example()
142 if (status != 0) { in aos_event_example()
148 …status = aos_task_create(&taskB_handle, TASKB_NAME, taskB_entry, NULL, NULL, TASKB_STACKSIZE, TASK… in aos_event_example()
149 if (status != 0) { in aos_event_example()