X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmutex-p.h;fp=src%2Fmutex-p.h;h=783f11940b4072062ace444cb79789df492e33e4;hb=df00da5a3dbba000c75781fbb709e3e1cfb0a927;hp=0000000000000000000000000000000000000000;hpb=e2ee7361cc2ac8d8d00bbf4e74c46a77ccef1911;p=yaz-moved-to-github.git diff --git a/src/mutex-p.h b/src/mutex-p.h new file mode 100644 index 0000000..783f119 --- /dev/null +++ b/src/mutex-p.h @@ -0,0 +1,15 @@ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data + * See the file LICENSE for details. + */ + +struct yaz_mutex { +#ifdef WIN32 + CRITICAL_SECTION handle; +#elif YAZ_POSIX_THREADS + pthread_mutex_t handle; +#endif + char *name; + int log_level; +}; +