Home | History | Annotate | Download | only in liboverlay

Lines Matching refs:attr

83   pthread_mutexattr_t attr;
269 if ((ret = pthread_mutexattr_init(&p->attr)) != 0) {
270 LOGE("Failed to initialize overlay mutex attr");
272 if (ret == 0 && (ret = pthread_mutexattr_setpshared(&p->attr, PTHREAD_PROCESS_SHARED)) != 0) {
273 LOGE("Failed to set the overlay mutex attr to be shared across-processes");
275 if (ret == 0 && (ret = pthread_mutex_init(&p->lock, &p->attr)) != 0) {
299 if (pthread_mutexattr_destroy(&shared->attr)) {
300 LOGE("Failed to uninitialize the overlay mutex attr!\n");