sphcompoundpcqheap.h
Go to the documentation of this file.
/*
* sphcompoundpcqheap.h
*
* Created on: May 28, 2016
* Author: sjmunroe
*/
#ifndef SRC_SPHCOMPOUNDPCQHEAP_H_
#define SRC_SPHCOMPOUNDPCQHEAP_H_
#include "sascompoundheap.h"
#include "sphsinglepcqueue.h"
#ifdef __cplusplus
#define __C__ "C"
#else
#define __C__
#endif
extern __C__ SPHSinglePCQueue_t SPHCompoundPCQAlloc (SASCompoundHeap_t heap);
extern __C__ void
SPHCompoundPCQFree (SASCompoundHeap_t heap, SPHSinglePCQueue_t free_block);
extern __C__ SPHSinglePCQueue_t SPHCompoundPCQNearAlloc (void *nearObj);
extern __C__ SPHSinglePCQueue_t
SPHCompoundPCQAllocNoLock (SASCompoundHeap_t heap);
extern __C__ SPHSinglePCQueue_t SPHCompoundPCQNearAllocNoLock (void *nearObj);
extern __C__ void
SPHCompoundPCQFreeNoLock (SASCompoundHeap_t heap,
SPHSinglePCQueue_t free_block);
#endif /* SRC_SPHCOMPOUNDPCQHEAP_H_ */
sascompoundheap.h
Shared Address Space Compound Heap.
SASCompoundHeap_t
void * SASCompoundHeap_t
Handle to SAS Compound Heap. The type is SAS_RUNTIME_COMPOUNDHEAP.
Definition: sascompoundheap.h:119
__C__
#define __C__
ignore this macro behind the curtain
Definition: sasmsync.h:32
SPHCompoundPCQNearAlloc
__C__ SPHSinglePCQueue_t SPHCompoundPCQNearAlloc(void *nearObj)
Allocate a new SPH PCQueue from SAS Compound Heap nearObj.
SPHCompoundPCQFreeNoLock
__C__ void SPHCompoundPCQFreeNoLock(SASCompoundHeap_t heap, SPHSinglePCQueue_t free_block)
Free the allocated SPH PCQueue free_block from SAS Compound Heap heap.
SPHCompoundPCQNearAllocNoLock
__C__ SPHSinglePCQueue_t SPHCompoundPCQNearAllocNoLock(void *nearObj)
Allocate a new SPH PCQueue from SAS Compound Heap nearObj.
SPHCompoundPCQAlloc
__C__ SPHSinglePCQueue_t SPHCompoundPCQAlloc(SASCompoundHeap_t heap)
Sub-Allocate a new SPH PCQueue from a SAS Compound Heaps internal space.
SPHCompoundPCQFree
__C__ void SPHCompoundPCQFree(SASCompoundHeap_t heap, SPHSinglePCQueue_t free_block)
Free the allocated SPH PCQueue block in the SAS Compound Heap heap.
SPHCompoundPCQAllocNoLock
__C__ SPHSinglePCQueue_t SPHCompoundPCQAllocNoLock(SASCompoundHeap_t heap)
Sub-Allocate a new SPH PCQueue from a SAS Compound Heaps internal space.
sphsinglepcqueue.h
Shared Persistent Heap, single producer single consumer queue. For shared memory multi-thread/multi-c...
SPHSinglePCQueue_t
void * SPHSinglePCQueue_t
Handle to an instance of SPH Lock Free Single Producer, Single Consumer Queue.
Definition: sphsinglepcqueue.h:180