Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Queue_impl
comparison PrivateQueue.h @ 24:677afc259a58
fix branch to compile with new folder structure
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Mon, 13 Feb 2012 19:32:12 +0100 |
| parents | 8fd77f9430f0 |
| children |
comparison
equal
deleted
inserted
replaced
| 5:42fd1b529f96 | 8:2a3175cad681 |
|---|---|
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef _PRIVATE_QUEUE_H | 8 #ifndef _PRIVATE_QUEUE_H |
| 9 #define _PRIVATE_QUEUE_H | 9 #define _PRIVATE_QUEUE_H |
| 10 | 10 |
| 11 #include "../VMS_primitive_data_types.h" | 11 #include "VMS_Implementations/VMS_impl/VMS_primitive_data_types.h" |
| 12 | 12 |
| 13 #define TRUE 1 | 13 #define TRUE 1 |
| 14 #define FALSE 0 | 14 #define FALSE 0 |
| 15 | 15 |
| 16 #define LOCKED 1 | 16 #define LOCKED 1 |
| 24 void **endOfData; //set when alloc data | 24 void **endOfData; //set when alloc data |
| 25 } | 25 } |
| 26 PrivQueueStruc; | 26 PrivQueueStruc; |
| 27 | 27 |
| 28 | 28 |
| 29 PrivQueueStruc* makeVMSPrivQ ( ); | 29 PrivQueueStruc* makePrivQ ( ); |
| 30 void* readPrivQ ( PrivQueueStruc *Q ); | 30 void* readPrivQ ( PrivQueueStruc *Q ); |
| 31 void writePrivQ( void *in, PrivQueueStruc *Q ); | 31 void writePrivQ( void *in, PrivQueueStruc *Q ); |
| 32 int32 writeIfSpacePrivQ( void * in, PrivQueueStruc* Q ); //return | 32 int32 writeIfSpacePrivQ( void * in, PrivQueueStruc* Q ); //return |
| 33 // false when full | 33 // false when full |
| 34 int32 numInPrivQ( PrivQueueStruc *Q ); | 34 int32 numInPrivQ( PrivQueueStruc *Q ); |
