Up: GEOS SDK TechDocs | Up | Prev: ECCheckHugeArray() ... | Next: ECVMCheckVMBlockHandle() ...

ECCheckProcessHandle()

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

ECCheckQueueHandle()

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

ECCheckResourceHandle()

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

ECCheckStack()

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

ECCheckThreadHandle()

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

ECCheckWindowHandle()

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

ECLMemExists()

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

ECLMemExistsHandles()

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

ECLMemValidateHandle()

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

ECLMemValidateHandleHandles()

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

ECLMemValidateHeap()

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

ECMemVerifyHeap()

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

ECVMCheckMemHandle()

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


Up: GEOS SDK TechDocs | Up | Prev: ECCheckHugeArray() ... | Next: ECVMCheckVMBlockHandle() ...