|
|
1.1 root 1: /* defines used by server.c and customer.c:
2: */
3:
4: #define QUEUENAME "\\QUEUES\\SOMEQUE" /* name of queue */
5: #define SEGNAME "\\SHAREMEM\\SOMESEG" /* segment to hold queue data*/
6: #define SEGSIZE 32 /* size of shared segment */
7: #define FIFO 0 /* FIFO priority ordering */
8: #define LIFO 1 /* LIFO priority ordering */
9: #define PRIO 2 /* Priority Queue Ordereing */
10: #define DUMMYPARAM (long) 0 /* dummy parameter to DOSQUEUEREAD */
11: #define MAXQWRITES 8 /* max (arbitrary) number of writes to queue */
12: #define ELEMPRIORITY 0 /* all the elements will have equal priority */
13: #define LIFOPRIO 15 /* LIFO stacking of elements on queue */
14: #define REQWAITER 0 /* request attn. of a waiter, same for all req's */
15: #define NOMORE 1 /* indicate no more requests */
16: #define DATALENGTH 2 /* length of data element to be placed in queue */
17: #define FIRSTELEMENT 0 /* read the first element in the queue */
18: #define WAIT 0 /* will wait until an element becomes available */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.