Home
last modified time | relevance | path

Searched refs:quit_lock (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/samples/net/ptp/src/
Dmain.c20 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/
Dgptp.c22 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/
Decho-server.c30 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/
Dpacket.c30 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/
Dmain.c78 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/
Dlwm2m-client.c62 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/
Dmain.c39 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()