Shared Persistent Heap Data Environment Manual  1.1.0
sphcompoundpcqheap.h
Go to the documentation of this file.
1 /*
2  * sphcompoundpcqheap.h
3  *
4  * Created on: May 28, 2016
5  * Author: sjmunroe
6  */
7 
8 #ifndef SRC_SPHCOMPOUNDPCQHEAP_H_
9 #define SRC_SPHCOMPOUNDPCQHEAP_H_
10 
11 
96 #include "sascompoundheap.h"
97 
98 #include "sphsinglepcqueue.h"
99 
100 #ifdef __cplusplus
101 #define __C__ "C"
102 #else
103 #define __C__
104 #endif
105 
118 
129 extern __C__ void
131 
142 extern __C__ SPHSinglePCQueue_t SPHCompoundPCQNearAlloc (void *nearObj);
143 
158 
171 
184 extern __C__ void
186  SPHSinglePCQueue_t free_block);
187 
188 #endif /* SRC_SPHCOMPOUNDPCQHEAP_H_ */
__C__ void SPHCompoundPCQFreeNoLock(SASCompoundHeap_t heap, SPHSinglePCQueue_t free_block)
Free the allocated SPH PCQueue free_block from SAS Compound Heap heap.
__C__ SPHSinglePCQueue_t SPHCompoundPCQNearAlloc(void *nearObj)
Allocate a new SPH PCQueue from SAS Compound Heap nearObj.
__C__ SPHSinglePCQueue_t SPHCompoundPCQNearAllocNoLock(void *nearObj)
Allocate a new SPH PCQueue from SAS Compound Heap nearObj.
Shared Address Space Compound Heap.
__C__ SPHSinglePCQueue_t SPHCompoundPCQAlloc(SASCompoundHeap_t heap)
Sub-Allocate a new SPH PCQueue from a SAS Compound Heaps internal space.
__C__ void SPHCompoundPCQFree(SASCompoundHeap_t heap, SPHSinglePCQueue_t free_block)
Free the allocated SPH PCQueue block in the SAS Compound Heap heap.
__C__ SPHSinglePCQueue_t SPHCompoundPCQAllocNoLock(SASCompoundHeap_t heap)
Sub-Allocate a new SPH PCQueue from a SAS Compound Heaps internal space.
#define __C__
ignore this macro behind the curtain
Definition: sasmsync.h:32
void * SPHSinglePCQueue_t
Handle to an instance of SPH Lock Free Single Producer, Single Consumer Queue.
Definition: sphsinglepcqueue.h:180
Shared Persistent Heap, single producer single consumer queue. For shared memory multi-thread/multi-c...
void * SASCompoundHeap_t
Handle to SAS Compound Heap. The type is SAS_RUNTIME_COMPOUNDHEAP.
Definition: sascompoundheap.h:119