Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Queue_impl
diff BlockingQueue.c @ 48:1ea30ca7093c
changed headers
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Tue, 23 Jul 2013 07:28:22 -0700 |
| parents | 67c7f5a0308b |
| children | 083298a6f7b6 |
line diff
1.1 --- a/BlockingQueue.c Mon Jul 22 07:05:57 2013 -0700 1.2 +++ b/BlockingQueue.c Tue Jul 23 07:28:22 2013 -0700 1.3 @@ -14,6 +14,7 @@ 1.4 #include <string.h> 1.5 1.6 #include "BlockingQueue.h" 1.7 +#include "PR__common_includes/Services_offered_by_PR/Memory_Handling/vmalloc__wrapper_library.h" 1.8 1.9 #define INC(x) (++x == 1024) ? (x) = 0 : (x) 1.10 1.11 @@ -173,7 +174,7 @@ 1.12 void 1.13 freeSRSWQ( SRSWQueueStruc* Q ) 1.14 { 1.15 - PR_int__free( Q ); 1.16 + PR__free( Q ); 1.17 } 1.18 1.19 void* readSRSWQ( SRSWQueueStruc* Q ) 1.20 @@ -333,7 +334,7 @@ 1.21 for( i = 0; i < oldSz; i++ ) 1.22 { Q->internalQs[i] = oldArray[i]; 1.23 } 1.24 - PR_int__free( oldArray ); 1.25 + PR__free( oldArray ); 1.26 } 1.27 Q->internalQs[ Q->numInternalQs - 1 ] = makeSRSWQ(); 1.28 return Q->numInternalQs - 1;
