Home | History | Annotate | Download | only in MagickCore

Lines Matching defs:mutex

64     mutex;
88 % ActivateSemaphoreInfo() activates a semaphore under protection of a mutex
213 omp_init_lock((omp_lock_t *) &semaphore_info->mutex);
226 perror("unable to initialize mutex attributes");
235 perror("unable to set mutex type");
240 status=pthread_mutex_init(&semaphore_info->mutex,&mutex_info);
244 perror("unable to initialize mutex");
251 perror("unable to destroy mutex attributes");
260 status=InitializeCriticalSectionAndSpinCount(&semaphore_info->mutex,0x0400);
311 omp_set_lock((omp_lock_t *) &semaphore_info->mutex);
317 status=pthread_mutex_lock(&semaphore_info->mutex);
321 perror("unable to lock mutex");
326 EnterCriticalSection(&semaphore_info->mutex);
365 omp_destroy_lock((omp_lock_t *) &(*semaphore_info)->mutex);
371 status=pthread_mutex_destroy(&(*semaphore_info)->mutex);
375 perror("unable to destroy mutex");
380 DeleteCriticalSection(&(*semaphore_info)->mutex);
475 omp_unset_lock((omp_lock_t *) &semaphore_info->mutex);
481 status=pthread_mutex_unlock(&semaphore_info->mutex);
485 perror("unable to unlock mutex");
490 LeaveCriticalSection(&semaphore_info->mutex);