Home
last modified time | relevance | path

Searched refs:aos_sem_wait (Results 1 – 25 of 63) sorted by relevance

123

/AliOS-Things-master/hardware/chip/rtl872xd/test/
A Daos_test.c368 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 Dhal_spi.c124 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 Dsemaphore.c62 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 Dpthread_cond.c92 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 Dcli_console.c239 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 Dtelnet_console.c64 aos_sem_wait(&telnet_recv_buf->telnet_rx_sem, 20); in telnet_console_read()
/AliOS-Things-master/components/drivers/peripheral/uart/src/
A Dtty_csi.c170 (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 Dworkqueue_example.c157 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 Dtask_example.c81 if (0 != aos_sem_wait(&g_testsync_sem, AOS_WAIT_FOREVER)) in task2_entry()
A Dsem_example.c64 status = aos_sem_wait(&sem_handle, AOS_WAIT_FOREVER); in task_entry()
/AliOS-Things-master/components/uservice/src/
A Dselect.c22 aos_sem_wait(semaphore, tomeout_ms); in select2()
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/
A Dcommand_responder.cc40 aos_sem_wait(&cmd_sem, AOS_WAIT_FOREVER); in command_process_main()
A Dringbuf.c152 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 Dmodule_oss.c77 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 Dhal_at_os.c112 return aos_sem_wait((aos_sem_t *)&sem, timeout_ms); in atpsr_sem_wait()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmpsalport.c85 int status = aos_sem_wait(sem, timeout); in mp_sal_sem_take()
/AliOS-Things-master/components/osal_aos/rhino/
A Daos_sem.c82 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 Ddevice.c26 (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 Dgpio_test.c47 aos_sem_wait(&gpio_test_sem, AOS_WAIT_FOREVER); in hal_gpio_test()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/timer/
A Dtimer_test.c67 aos_sem_wait(&timer_test_sem, AOS_WAIT_FOREVER); in hal_timer_test()
/AliOS-Things-master/components/ai_agent/src/engine/
A Dkws_engine.c31 aos_sem_wait(&kws_sem, AOS_WAIT_FOREVER); in callback_main()
/AliOS-Things-master/components/py_engine/modules/mqtt/
A Dmodule_mqtt.c330 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 Dmodule_can.c102 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 Dmodule_mqtt.c322 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 Dmodule_tcp.c444 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()

Completed in 44 milliseconds

123