X-Git-Url: http://git.indexdata.com/?p=pazpar2-moved-to-github.git;a=blobdiff_plain;f=src%2Fppmutex.c;h=1ecc026a3e11fd9c472f797004d49e75d9e7ee39;hp=c74cac1b6d1308d0209a5b0575b0fc7a7af2771b;hb=HEAD;hpb=474a3df3c734386bf2441cb23feae414a2c8297b diff --git a/src/ppmutex.c b/src/ppmutex.c index c74cac1..1ecc026 100644 --- a/src/ppmutex.c +++ b/src/ppmutex.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2010 Index Data + Copyright (C) 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 @@ -36,17 +36,13 @@ void pazpar2_mutex_init(void) 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