#define XPOOL_H
#include <sys/util.h>
-#include <xq/xq_lock.h>
-//#include <xseg/xseg.h>
+#include <xtypes/xlock.h>
typedef uint64_t xpool_index;
typedef uint64_t xpool_data;
};
struct xpool {
- struct xq_lock lock;
+ struct xlock lock;
//XPTR_TYPE(struct xpool_node) list;
//XPTR_TYPE(struct xpool_node) free;
xpool_index list;