From: Kurt Zeilenga Date: Fri, 1 Jan 1999 20:22:56 +0000 (+0000) Subject: Wrap strtok use with mutex. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~824 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a5e6fa0d1ce8a43ec96e88de73297ad2103eba2e;p=openldap Wrap strtok use with mutex. --- diff --git a/servers/slapd/tools/ldbmtest.c b/servers/slapd/tools/ldbmtest.c index 0868b97d0c..70989a013a 100644 --- a/servers/slapd/tools/ldbmtest.c +++ b/servers/slapd/tools/ldbmtest.c @@ -49,6 +49,7 @@ pthread_mutex_t entry2str_mutex; pthread_mutex_t active_threads_mutex; pthread_mutex_t new_conn_mutex; pthread_mutex_t currenttime_mutex; +pthread_mutex_t strtok_mutex; pthread_mutex_t replog_mutex; pthread_mutex_t ops_mutex; pthread_mutex_t regex_mutex; diff --git a/servers/slapd/tools/ldif2id2children.c b/servers/slapd/tools/ldif2id2children.c index f662a0e4c4..0bedb82096 100644 --- a/servers/slapd/tools/ldif2id2children.c +++ b/servers/slapd/tools/ldif2id2children.c @@ -31,6 +31,7 @@ pthread_mutex_t entry2str_mutex; pthread_mutex_t active_threads_mutex; pthread_mutex_t new_conn_mutex; pthread_mutex_t currenttime_mutex; +pthread_mutex_t strtok_mutex; pthread_mutex_t replog_mutex; pthread_mutex_t ops_mutex; pthread_mutex_t regex_mutex; diff --git a/servers/slapd/tools/ldif2id2entry.c b/servers/slapd/tools/ldif2id2entry.c index 391988207f..9ba4b71e58 100644 --- a/servers/slapd/tools/ldif2id2entry.c +++ b/servers/slapd/tools/ldif2id2entry.c @@ -28,6 +28,7 @@ pthread_mutex_t entry2str_mutex; pthread_mutex_t active_threads_mutex; pthread_mutex_t new_conn_mutex; pthread_mutex_t currenttime_mutex; +pthread_mutex_t strtok_mutex; pthread_mutex_t replog_mutex; pthread_mutex_t ops_mutex; pthread_mutex_t regex_mutex; diff --git a/servers/slapd/tools/ldif2index.c b/servers/slapd/tools/ldif2index.c index 336b9ba0d3..9328ad4b67 100644 --- a/servers/slapd/tools/ldif2index.c +++ b/servers/slapd/tools/ldif2index.c @@ -30,6 +30,7 @@ pthread_mutex_t entry2str_mutex; pthread_mutex_t active_threads_mutex; pthread_mutex_t new_conn_mutex; pthread_mutex_t currenttime_mutex; +pthread_mutex_t strtok_mutex; pthread_mutex_t replog_mutex; pthread_mutex_t ops_mutex; pthread_mutex_t regex_mutex; diff --git a/servers/slapd/tools/ldif2ldbm.c b/servers/slapd/tools/ldif2ldbm.c index 0686e58bb8..adca59cac2 100644 --- a/servers/slapd/tools/ldif2ldbm.c +++ b/servers/slapd/tools/ldif2ldbm.c @@ -34,6 +34,7 @@ pthread_mutex_t entry2str_mutex; pthread_mutex_t active_threads_mutex; pthread_mutex_t new_conn_mutex; pthread_mutex_t currenttime_mutex; +pthread_mutex_t strtok_mutex; pthread_mutex_t replog_mutex; pthread_mutex_t ops_mutex; pthread_mutex_t regex_mutex;