void ECCheckProcessHandle(
GeodeHandle gh);
This routine checks that the passed handle actually references a process. If the assertions fail, a fatal error will occur.
Include: ec.h
void ECCheckQueueHandle(
QueueHandle qh);
This routine ensures the passed handle references an event queue. If the assertions fail, a fatal error will occur.
Include: ec.h
void ECCheckResourceHandle(
MemHandle mh);
This routine ensures that the passed handle references a geode resource. If the assertions fail, a fatal error will occur.
Include: ec.h
void ECCheckStack();
This routine checks to make sure the current stack has not overflown (and is not about to). This routine also enforces a 100-byte gap between the stack bottom and the stack pointer. If assertions fail, a fatal error will occur.
Include: ec.h
void ECCheckThreadHandle(
ThreadHandle th);
This routine checks that the passed handle actually references a thread. If the assertions fail, a fatal error will occur.
Include: ec.h
void ECCheckWindowHandle(
WindowHandle wh);
This routine checks that the passed handle actually references a window. If the assertions fail, a fatal error will occur.
Include: ec.h
void ECLMemExists(
optr o);
This routine checks to see if the specified chunk exists. This routine should be called by applications to check the chunk handle's validity. If the assertions fail, a fatal error will occur.
Include: ec.h
void ECLMemExistsHandles(
MemHandle mh,
ChunkHandle ch);
This routine checks to see if the specified chunk exists. This routine should be called by applications to check the chunk handle's validity. If the assertions fail, a fatal error will occur.
Include: ec.h
void ECLMemValidateHandle(
optr o);
This routine checks that the passed optr points to a local memory chunk. If the assertions fail, a fatal error will occur.
Include: ec.h
void ECLMemValidateHandleHandles(
MemHandle mh,
ChunkHandle ch);
This routine checks that the passed memory and chunk handles actually reference a local memory chunk. If the assertions fail, a fatal error will occur.
Include: ec.h
void ECLMemValidateHeap(
MemHandle mh);
This routine does a complete error-check of the LMem heap. It is used internally and should not be needed by application programmers.
Include: ec.h
void ECMemVerifyHeap()
This routine makes sure the global heap is in a consistent state. If the assertions fail, a fatal error will occur. This routine should likely not be called by anything other than the EC kernel.
Include: ec.h
void ECVMCheckMemHandle(
MemHandle han);
This routine checks that the given memory handle is actually linked to a VM block handle. If assertions fail, a fatal error will occur.
Include: ec.h
GEOS SDK TechDocs
|
|
ECCheckHugeArray() ...
|
ECVMCheckVMBlockHandle() ...