Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::containers::PDATASTACK Structure
C++
typedef struct DataListStack {
  INDEX Top;
  INDEX Cnt;
  _32 Lock;
  INDEX Size;
  _8 data[1];
} DATASTACK, * PDATASTACK;
Members 
Description 
INDEX Top; 
enable logging the program executable (probably the same for all messages, unless they are network
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.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!