Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Queue_impl
comparison PrivateQueue.h @ 30:e59d39874274
Compiles, but does not yet run properly
| author | Some Random Person <seanhalle@yahoo.com> |
|---|---|
| date | Tue, 13 Mar 2012 10:07:00 -0700 |
| parents | dabefab7d264 |
| children | 555cc068a79a |
comparison
equal
deleted
inserted
replaced
| 10:5db4fa433989 | 11:62bf6a01f7c9 |
|---|---|
| 27 void **startOfData; //data is pointers | 27 void **startOfData; //data is pointers |
| 28 void **endOfData; //set when alloc data | 28 void **endOfData; //set when alloc data |
| 29 } | 29 } |
| 30 PrivQueueStruc; | 30 PrivQueueStruc; |
| 31 | 31 |
| 32 typedef void (*DynArrayFnPtr) ( void * ); //fn has to cast void * | |
| 32 | 33 |
| 33 PrivQueueStruc* makePrivQ ( ); | 34 PrivQueueStruc* makePrivQ ( ); |
| 34 void* readPrivQ ( PrivQueueStruc *Q ); | 35 void* readPrivQ ( PrivQueueStruc *Q ); |
| 35 void writePrivQ( void *in, PrivQueueStruc *Q ); | 36 void writePrivQ( void *in, PrivQueueStruc *Q ); |
| 36 int writeIfSpacePrivQ( void * in, PrivQueueStruc* Q ); //return | 37 int writeIfSpacePrivQ( void * in, PrivQueueStruc* Q ); //return |
| 37 int numInPrivQ( PrivQueueStruc *Q ); | 38 int numInPrivQ( PrivQueueStruc *Q ); |
| 38 // false when full | 39 // false when full |
| 39 | 40 |
| 41 | |
| 40 #endif /* _PRIVATE_QUEUE_H */ | 42 #endif /* _PRIVATE_QUEUE_H */ |
| 41 | 43 |
