wangzhengquan
2020-07-09 9e418158e309ce5d02bdf296f3bed2c5d533eee0
test/test.h
@@ -1,7 +1,9 @@
#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>
@@ -12,6 +14,9 @@
  
};
// typedef shmstring item_t;
typedef int item_t;
struct Targ {
   int key;
   int start;
@@ -25,8 +30,8 @@
 //   //queue->~LockFreeQueue();
   // delete queue;
   QueueFactory::dropQueue<struct Item>(key);
    //mm_destroy();
   //QueueFactory::dropQueue<struct Item>(key);
    // mm_destroy();
    
}