labcomm_pthread_mutex_lock.c 246 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "labcomm.h"
#include "labcomm_private.h"

struct labcomm_lock *labcomm_pthread_mutex_lock_new()
{
  struct labcomm_lock *result;

  result = malloc(sizeof(*result));
  if (result == NULL) {
    goto out;
  }
  
out:
  return result;

}