Searched refs:surface_mutex (Results 1 – 1 of 1) sorted by relevance
69 static pthread_mutex_t surface_mutex[SURFACE_NUM]; variable337 if (0 == pthread_mutex_trylock(&surface_mutex[i])) in get_next_free_surface()484 pthread_mutex_unlock(&surface_mutex[index]); /* locked in get_next_free_surface */ in putsurface_thread()654 pthread_mutex_init(&surface_mutex[i], NULL); in main()