#include "config.h"
#include <sofia-sip/su_alloc.h>
#include <sofia-sip/su.h>
#include <pthread.h>
#include <assert.h>
Include dependency graph for su_alloc_lock.c:
Functions | |
int | su_home_threadsafe (su_home_t *home) |
Convert su_home_t object to a thread-safe one. |
int su_home_threadsafe | ( | su_home_t * | home | ) |
Convert su_home_t object to a thread-safe one.
Convert a memory home object as thread-safe by allocating mutexes and modifying function pointers in su_alloc.c module.
home | memory home object to be converted thread-safe. |
0 | when successful, | |
-1 | upon an error. |