Home
last modified time | relevance | path

Searched refs:task_num (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/esp_ipc/test/
Dtest_ipc.c104 for (int task_num = 0; task_num < max_tasks; ++task_num) { variable
108 sema_ipc_done[task_num * 2 + cpu_num] = xSemaphoreCreateBinary();
109 …xTaskCreatePinnedToCore(task, "task", 4096, &sema_ipc_done[task_num * 2 + cpu_num], priority, NULL…
113 for (int task_num = 0; task_num < max_tasks; ++task_num) { variable
115 xSemaphoreGive(sema_ipc_done[task_num * 2 + cpu_num]);
119 for (int task_num = 0; task_num < max_tasks; ++task_num) { variable
121 xSemaphoreTake(sema_ipc_done[task_num * 2 + cpu_num], portMAX_DELAY);
122 vSemaphoreDelete(sema_ipc_done[task_num * 2 + cpu_num]);
/hal_espressif-3.6.0/components/freertos/test/
Dtest_freertos_eventgroups.c28 int task_num = (int)param; in task_event_group_call_response() local
30 printf("Started %d\n", task_num); in task_event_group_call_response()
38 xEventGroupSetBits(eg, BIT_RESPONSE(task_num)); in task_event_group_call_response()
41 printf("Task %d done\n", task_num); in task_event_group_call_response()
86 int task_num = (int)param; in task_test_sync() local
88 printf("Started %d\n", task_num); in task_test_sync()
92 xEventGroupSync(eg, BIT_RESPONSE(task_num), ALL_RESPONSE_BITS, portMAX_DELAY); in task_test_sync()
94 xEventGroupClearBits(eg, BIT_RESPONSE(task_num)); in task_test_sync()
96 int after_done = xEventGroupSetBits(eg, BIT_DONE(task_num)); in task_test_sync()
98 printf("Done %d = 0x%08x\n", task_num, after_done); in task_test_sync()
Dtest_tasks_snapshot.c29 UBaseType_t task_num = uxTaskGetSnapshotAll(tasks, TEST_MAX_TASKS_NUM, &tcb_sz); variable
35 printf("Dumped %d tasks. TCB size %d\n", task_num, tcb_sz);
36 TEST_ASSERT_NOT_EQUAL(0, task_num);