Added mutex to resultset
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 19 Apr 2010 08:53:47 +0000 (10:53 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 19 Apr 2010 08:53:47 +0000 (10:53 +0200)
src/zoom-p.h

index a18d63e..3535221 100644 (file)
@@ -35,6 +35,7 @@
 #include <yaz/zoom.h>
 #include <yaz/sortspec.h>
 #include <yaz/srw.h>
+#include <yaz/mutex.h>
 
 typedef struct ZOOM_Event_p *ZOOM_Event;
 
@@ -150,6 +151,7 @@ struct ZOOM_resultset_p {
     ZOOM_connection connection;
     char **databaseNames;
     int num_databaseNames;
+    YAZ_MUTEX mutex;
 };
 
 struct ZOOM_record_p {