/AliOS-Things-master/hardware/chip/rtl872xd/test/ |
A D | aos_test.c | 368 aos_sem_wait(&g_sem, -1); in task6() 383 aos_sem_wait(&g_sem, -1); in task7() 436 aos_sem_wait(&g_sem_taskexit_sync, -1); in CASE() 453 aos_sem_wait(&g_sem_taskexit_sync, -1); in CASE() 469 aos_sem_wait(&g_sem_taskexit_sync, -1); in CASE() 485 aos_sem_wait(&g_sem_taskexit_sync, -1); in CASE() 501 aos_sem_wait(&g_sem_taskexit_sync, -1); in CASE() 640 ret = aos_sem_wait(&g_sem, 100); in CASE() 645 ret = aos_sem_wait(&g_sem, 100); in CASE() 795 aos_sem_wait(&g_sem, -1); in CASE() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | hal_spi.c | 124 aos_sem_wait(&slave_tx_down_sema, timeout); in hal_spi_send() 128 aos_sem_wait(&master_tx_down_sema, timeout); in hal_spi_send() 158 aos_sem_wait(&slave_rx_down_sema, timeout); in hal_spi_recv() 162 aos_sem_wait(&master_rx_down_sema, timeout); in hal_spi_recv() 189 aos_sem_wait(&master_rx_down_sema, timeout); in hal_spi_send_recv()
|
/AliOS-Things-master/components/posix/src/ |
A D | semaphore.c | 62 ret = aos_sem_wait((aos_sem_t *)&(sem->aos_sem), AOS_WAIT_FOREVER); in sem_wait() 81 ret = aos_sem_wait((aos_sem_t *)&(sem->aos_sem), 0); in sem_trywait() 124 ret = aos_sem_wait((aos_sem_t *)&(sem->aos_sem), timeout_ms); in sem_timedwait()
|
A D | pthread_cond.c | 92 aos_sem_wait((aos_sem_t*)(&(cond->wait_done)), AOS_WAIT_FOREVER); in pthread_cond_broadcast() 117 aos_sem_wait((aos_sem_t*)(&(cond->wait_done)), AOS_WAIT_FOREVER); in pthread_cond_signal() 148 ret = aos_sem_wait((aos_sem_t*)(&(cond->wait_sem)), ms); in pthread_cond_timedwait_ms() 164 aos_sem_wait((aos_sem_t*)(&(cond->wait_sem)), AOS_NO_WAIT); in pthread_cond_timedwait_ms()
|
/AliOS-Things-master/components/cli/src/ |
A D | cli_console.c | 239 aos_sem_wait(sem, AOS_WAIT_FOREVER); in cli_console_shared_sem_take() 298 aos_sem_wait(&console->sem, AOS_WAIT_FOREVER); in cli_console_add_task_list_node() 338 aos_sem_wait(&console->sem, AOS_WAIT_FOREVER); in cli_console_remove_task_list_node() 366 aos_sem_wait(&console->sem, AOS_WAIT_FOREVER); in cli_console_check_task_list_node() 389 aos_sem_wait(&console->sem, AOS_WAIT_FOREVER); in cli_console_clear_task_list() 440 ret = aos_sem_wait(&console->sem, AOS_WAIT_FOREVER); in cli_console_write() 503 aos_sem_wait(&console->sem, AOS_WAIT_FOREVER); in cli_console_deinit()
|
A D | telnet_console.c | 64 aos_sem_wait(&telnet_recv_buf->telnet_rx_sem, 20); in telnet_console_read()
|
/AliOS-Things-master/components/drivers/peripheral/uart/src/ |
A D | tty_csi.c | 170 (void)aos_sem_wait(&tty_csi->rx_sem, AOS_WAIT_FOREVER); in rx_task_func() 198 (void)aos_sem_wait(&tty_csi->tx_sem, AOS_WAIT_FOREVER); in tx_task_func() 284 (void)aos_sem_wait(&tty_csi->tx_sem, AOS_WAIT_FOREVER); in tty_csi_shutdown() 330 (void)aos_sem_wait(&tty_csi->rx_sem, AOS_WAIT_FOREVER); in tty_csi_disable_rx() 344 (void)aos_sem_wait(&tty_csi->tx_sem, AOS_WAIT_FOREVER); in tty_csi_stop_tx()
|
/AliOS-Things-master/components/osal_aos/example/ |
A D | workqueue_example.c | 157 aos_sem_wait(&g_wq_test_sem, AOS_WAIT_FOREVER); in aos_workqueue_example() 162 aos_sem_wait(&g_wq_test_sem, AOS_WAIT_FOREVER); in aos_workqueue_example()
|
A D | task_example.c | 81 if (0 != aos_sem_wait(&g_testsync_sem, AOS_WAIT_FOREVER)) in task2_entry()
|
A D | sem_example.c | 64 status = aos_sem_wait(&sem_handle, AOS_WAIT_FOREVER); in task_entry()
|
/AliOS-Things-master/components/uservice/src/ |
A D | select.c | 22 aos_sem_wait(semaphore, tomeout_ms); in select2()
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/ |
A D | command_responder.cc | 40 aos_sem_wait(&cmd_sem, AOS_WAIT_FOREVER); in command_process_main()
|
A D | ringbuf.c | 152 if (aos_sem_wait(&rb->can_read, ticks_to_wait) != pdTRUE) { in rb_read() 237 if (aos_sem_wait(&rb->can_write, ticks_to_wait) != pdTRUE) { in rb_write()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/oss/ |
A D | module_oss.c | 77 aos_sem_wait(&g_oss_task_sem, AOS_WAIT_FOREVER); in native_oss_upload_file() 121 aos_sem_wait(&g_oss_task_sem, AOS_WAIT_FOREVER); in native_oss_download_file()
|
/AliOS-Things-master/components/amp/components/at/src/ |
A D | hal_at_os.c | 112 return aos_sem_wait((aos_sem_t *)&sem, timeout_ms); in atpsr_sem_wait()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | mpsalport.c | 85 int status = aos_sem_wait(sem, timeout); in mp_sal_sem_take()
|
/AliOS-Things-master/components/osal_aos/rhino/ |
A D | aos_sem.c | 82 aos_status_t aos_sem_wait(aos_sem_t *sem, uint32_t timeout) in aos_sem_wait() function
|
/AliOS-Things-master/components/drivers/core/base/src/ |
A D | device.c | 26 (void)aos_sem_wait(&dev->rb_sem, AOS_WAIT_FOREVER); in device_forbid_removal() 36 (void)aos_sem_wait(&dev->rb_sem, AOS_WAIT_FOREVER); in device_wait_removal()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/gpio/ |
A D | gpio_test.c | 47 aos_sem_wait(&gpio_test_sem, AOS_WAIT_FOREVER); in hal_gpio_test()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/timer/ |
A D | timer_test.c | 67 aos_sem_wait(&timer_test_sem, AOS_WAIT_FOREVER); in hal_timer_test()
|
/AliOS-Things-master/components/ai_agent/src/engine/ |
A D | kws_engine.c | 31 aos_sem_wait(&kws_sem, AOS_WAIT_FOREVER); in callback_main()
|
/AliOS-Things-master/components/py_engine/modules/mqtt/ |
A D | module_mqtt.c | 330 aos_sem_wait(&g_mqtt_close_sem, MQTT_TASK_YIELD_TIMEOUT + 50); in native_mqtt_close() 338 aos_sem_wait(&g_mqtt_close_sem, MQTT_TASK_YIELD_TIMEOUT + 50); in module_mqtt_source_clean()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/can/ |
A D | module_can.c | 102 aos_sem_wait(&g_can_close_sem, CAN_TIMEOUT + 50); in native_can_close() 321 aos_sem_wait(&g_can_close_sem, CAN_TIMEOUT + 50); in module_can_clean()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/network/mqtt/ |
A D | module_mqtt.c | 322 aos_sem_wait(&g_mqtt_close_sem, MQTT_TASK_YIELD_TIMEOUT + 50); in native_mqtt_close() 330 aos_sem_wait(&g_mqtt_close_sem, MQTT_TASK_YIELD_TIMEOUT + 50); in module_mqtt_source_clean()
|
/AliOS-Things-master/components/py_engine/modules/network/tcp/ |
A D | module_tcp.c | 444 aos_sem_wait(&g_tcp_close_sem, MAX_TCP_RECV_TIMEOUT + 50); in native_tcp_close() 457 aos_sem_wait(&g_tcp_close_sem, MAX_TCP_RECV_TIMEOUT + 50); in module_tcp_source_clean()
|