From f75a37444e7a97fb58439077eea4d1b3c576bfe3 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期一, 20 七月 2020 11:17:33 +0800
Subject: [PATCH] update

---
 test/test.h |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/test/test.h b/test/test.h
index 084a7f1..25a3215 100644
--- a/test/test.h
+++ b/test/test.h
@@ -1,10 +1,11 @@
 #include "usg_common.h"
 #include "usg_typedef.h"
-#include "lock_free_queue.h"
-#include "queue_factory.h"
+#include "shm_queue.h"
+#include "shm_allocator.h"
+#include <sstream>
+//#include "queue_factory.h"
 #include <pthread.h>
-
-#define NTHREADS 3
+#include "mm.h"
 
 struct Item
 {
@@ -13,6 +14,9 @@
   
 };
 
+
+// typedef shmstring item_t;
+typedef int item_t;
 struct Targ {
 	int key;
 	int start;
@@ -26,8 +30,8 @@
  //   //queue->~LockFreeQueue();
 	// delete queue;
 
-	QueueFactory::dropQueue<struct Item>(key);
-    mm_destroy();
+	//QueueFactory::dropQueue<struct Item>(key);
+    // mm_destroy();
     
 
 }

--
Gitblit v1.8.0