Function pthread_mutex_init

Synopsis

#include <librabbitmq/win32/threads.h>

int pthread_mutex_init(pthread_mutex_t *, void *attr)

Description

No description yet.

Source

Lines 29-35 in librabbitmq/win32/threads.c. Line 47 in librabbitmq/win32/threads.h.

int pthread_mutex_init(pthread_mutex_t *mutex, void *attr) {
  if (!mutex) {
    return 1;
  }
  InitializeSRWLock(mutex);
  return 0;
}





Add Discussion as Guest

Log in to DocsForge