Sack Library Documentation
|
Members |
Description |
INDEX Top; | |
INDEX Cnt; |
How many elements are on the stack. |
_32 Lock; |
thread interlock using InterlockedExchange semaphore. For thread safety. |
INDEX Size; |
Size of each element in the stack. |
_8 data[1]; |
The actual data area of the stack. |
A Stack that stores information in an array of structures of known size.
The size of each element must be known at stack creation time. Structures are literally copied to and from this stack. This is a stack 'by value'. When extended, the stack will occupy different memory, care must be taken to not duplicate pointers to this stack.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|