rbase.h 322 Bytes
Newer Older
ram's avatar
ram committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* rbase.h */
#ifndef RBASE

#define RBASE

typedef enum {DevicePacket, WorkPacket} 
	PacketKind;
typedef enum {Idler, Worker, HandlerA, HandlerB, DeviceA, DeviceB}
	Identity;

#define NTASKS 6                        /* # elements of Identity */
				 	/* = # of tasks		  */
#define NoWork NULL
#define NoTask NULL

#endif