Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (27 sloc) 0.402 kb
/*
dummy mutexes, for non-threaded builds
*/
#include "imageri.h"
#include <pthread.h>
/* documented in mutexwin.c */
struct i_mutex_tag {
int dummy;
};
i_mutex_t
i_mutex_create(void) {
i_mutex_t m;
m = mymalloc(sizeof(*m));
return m;
}
void
i_mutex_destroy(i_mutex_t m) {
myfree(m);
}
void
i_mutex_lock(i_mutex_t m) {
(void)m;
}
void
i_mutex_unlock(i_mutex_t m) {
(void)m;
}
Jump to Line
Something went wrong with that request. Please try again.