diff PrivateQueue.h @ 37:b9cb01d8ce56

First working version
author Sean Halle <seanhalle@yahoo.com>
date Wed, 06 Jun 2012 18:00:59 -0700
parents a74011c0b78b
children cb29e773f76f d01d48b023ca
line diff
     1.1 --- a/PrivateQueue.h	Wed Mar 14 23:22:00 2012 -0700
     1.2 +++ b/PrivateQueue.h	Wed Jun 06 18:00:59 2012 -0700
     1.3 @@ -32,6 +32,8 @@
     1.4  typedef void  (*DynArrayFnPtr)  ( void * );  //fn has to cast void *
     1.5  
     1.6  PrivQueueStruc*  makePrivQ ( );
     1.7 +bool32           isEmptyPrivQ ( PrivQueueStruc *Q ); //ret TRUE if empty
     1.8 +void*            peekPrivQ ( PrivQueueStruc *Q ); //ret NULL if empty
     1.9  void*            readPrivQ ( PrivQueueStruc *Q ); //ret NULL if empty
    1.10  void             writePrivQ( void *in, PrivQueueStruc *Q );
    1.11                      //return false when full