]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/globals.h
MegaCommit of locking update.
[openldap] / servers / slurpd / globals.h
index 211c829ecd7da815ae0f13bd6d5c24851dd3807f..74d82e41e8b69d207c71c738111924435f8f14ed 100644 (file)
@@ -23,7 +23,7 @@ LDAP_BEGIN_DECL
 
 typedef struct globals {
     /* Thread ID for file manager thread */
-    pthread_t fm_tid;
+    ldap_pvt_thread_t fm_tid;
     /* The name of the slapd config file (which is also our config file) */
     char *slapd_configfile;
     /* How long the master slurpd sleeps when there's no work to do */
@@ -49,7 +49,7 @@ typedef struct globals {
     /* Current offset into slurpd replica logfile */
     off_t srpos;
     /* mutex to serialize access to reject file */
-    pthread_mutex_t rej_mutex;
+    ldap_pvt_thread_mutex_t rej_mutex;
     /* pointer to status struct */
     St *st;
     /* Pointer to replication queue */