9 // DS that contains information to be shared between threads.
10 typedef struct prefetchqelem {
11 struct prefetchqelem *next;
14 typedef struct primarypfq {
15 prefetchqelem_t *front, *rear;
16 pthread_mutex_t qlock;
17 pthread_mutexattr_t qlockattr;
24 void queueDelete(void);
25 void pre_enqueue(prefetchqelem_t *);
26 prefetchqelem_t *pre_dequeue(void);
28 void predealloc(prefetchqelem_t *);