chapter  8
12 Memory Byte Pool Example—Allocating Thread Stacks
Pages 1

Before we define the threads, we need to create the memory byte pool and allocate memory for the thread stack. Following is the definition of the byte pool, consisting of 4,500 bytes and starting at location 0x500000.