Home
last modified time | relevance | path

Searched refs:particles_lock (Results 1 - 1 of 1) sorted by relevance

/third_party/glfw/examples/
H A Dparticles.c97 mtx_t particles_lock; // Particles data sharing mutex member
456 mtx_lock(&thread_sync.particles_lock); in draw_particles()
465 cnd_timedwait(&thread_sync.p_done, &thread_sync.particles_lock, &ts); in draw_particles()
558 mtx_unlock(&thread_sync.particles_lock); in draw_particles()
907 mtx_lock(&thread_sync.particles_lock); in physics_thread_main()
918 cnd_timedwait(&thread_sync.d_done, &thread_sync.particles_lock, &ts); in physics_thread_main()
931 mtx_unlock(&thread_sync.particles_lock); in physics_thread_main()
1047 mtx_init(&thread_sync.particles_lock, mtx_timed); in main()

Completed in 3 milliseconds