|
|
Microsoft OS/2 SDK 12-15-1987
/* defines used by server.c and customer.c: */ #define QUEUENAME "\\QUEUES\\SOMEQUE" /* name of queue */ #define SEGNAME "\\SHAREMEM\\SOMESEG" /* segment to hold queue data*/ #define SEGSIZE 32 /* size of shared segment */ #define FIFO 0 /* FIFO priority ordering */ #define LIFO 1 /* LIFO priority ordering */ #define PRIO 2 /* Priority Queue Ordereing */ #define DUMMYPARAM (long) 0 /* dummy parameter to DOSQUEUEREAD */ #define MAXQWRITES 8 /* max (arbitrary) number of writes to queue */ #define ELEMPRIORITY 0 /* all the elements will have equal priority */ #define LIFOPRIO 15 /* LIFO stacking of elements on queue */ #define REQWAITER 0 /* request attn. of a waiter, same for all req's */ #define NOMORE 1 /* indicate no more requests */ #define DATALENGTH 2 /* length of data element to be placed in queue */ #define FIRSTELEMENT 0 /* read the first element in the queue */ #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.