/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2012 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
ppmutex_level = yaz_log_module_level("mutex");
}
-void pazpar2_mutex_create_flag(YAZ_MUTEX *p, const char *name, int flags)
+void pazpar2_mutex_create(YAZ_MUTEX *p, const char *name)
{
assert(p);
- yaz_mutex_create_attr(p, flags);
+ yaz_mutex_create(p);
yaz_mutex_set_name(*p, ppmutex_level, name);
}
-void pazpar2_mutex_create(YAZ_MUTEX *p, const char *name) {
- pazpar2_mutex_create_flag(p, name, 0);
-}
-
/*
* Local variables:
* c-basic-offset: 4