Searched refs:quit_lock (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/samples/net/ptp/src/ |
D | main.c | 20 static struct k_sem quit_lock; variable 26 k_sem_give(&quit_lock); in stop_handler() 75 k_sem_init(&quit_lock, 0, K_SEM_MAX_LIMIT); in init_testing() 80 k_sem_take(&quit_lock, K_FOREVER); in init_testing()
|
/Zephyr-latest/samples/net/gptp/src/ |
D | gptp.c | 22 static struct k_sem quit_lock; variable 28 k_sem_give(&quit_lock); in stop_handler() 83 k_sem_init(&quit_lock, 0, K_SEM_MAX_LIMIT); in init_testing() 88 k_sem_take(&quit_lock, K_FOREVER); in init_testing()
|
/Zephyr-latest/samples/net/sockets/echo_server/src/ |
D | echo-server.c | 30 static struct k_sem quit_lock; variable 55 k_sem_give(&quit_lock); in quit() 138 k_sem_init(&quit_lock, 0, K_SEM_MAX_LIMIT); in init_app() 242 k_sem_take(&quit_lock, K_FOREVER); in main()
|
/Zephyr-latest/samples/net/sockets/packet/src/ |
D | packet.c | 30 static struct k_sem quit_lock; variable 56 k_sem_give(&quit_lock); in quit() 260 k_sem_init(&quit_lock, 0, K_SEM_MAX_LIMIT); in main() 269 k_sem_take(&quit_lock, K_FOREVER); in main()
|
/Zephyr-latest/samples/net/sockets/dumb_http_server_mt/src/ |
D | main.c | 78 K_SEM_DEFINE(quit_lock, 0, 1); 238 k_sem_give(&quit_lock); in client_conn_handler() 242 k_sem_give(&quit_lock); in client_conn_handler() 452 k_sem_take(&quit_lock, K_FOREVER); in main()
|
/Zephyr-latest/samples/net/lwm2m_client/src/ |
D | lwm2m-client.c | 62 static struct k_sem quit_lock; variable 368 k_sem_init(&quit_lock, 0, K_SEM_MAX_LIMIT); in main() 407 k_sem_take(&quit_lock, K_FOREVER); in main()
|
/Zephyr-latest/samples/net/sockets/txtime/src/ |
D | main.c | 39 static struct k_sem quit_lock; variable 70 k_sem_give(&quit_lock); in quit() 531 k_sem_init(&quit_lock, 0, UINT_MAX); in main() 656 k_sem_take(&quit_lock, K_FOREVER); in main()
|