Add OpenAFS build machinery for libhcrypto
[openafs.git] / src / crypto / hcrypto / heim_threads.h
1 #include <pthread.h>
2
3 #define HEIMDAL_MUTEX pthread_mutex_t
4 #define HEIMDAL_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
5 #define HEIMDAL_MUTEX_init(m) pthread_mutex_init(m, NULL)
6 #define HEIMDAL_MUTEX_lock(m) pthread_mutex_lock(m)
7 #define HEIMDAL_MUTEX_unlock(m) pthread_mutex_unlock(m)
8 #define HEIMDAL_MUTEX_destroy(m) pthread_mutex_destroy(m)