ack/mach/proto/top/queue.h

13 lines
204 B
C
Raw Normal View History

1986-11-24 20:58:35 +00:00
typedef struct item *item_p;
typedef struct queue_t *queue;
struct queue_t {
instr_p head;
instr_p tail;
int qlen;
};
#define qhead(q) (q)->head
#define qlength(q) (q)->qlen
#define next(x) (x)->fw