How many bytes?
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Sep 16 10:59:53 UTC 2003
shannon wrote:
>There are four 32-bit members in structure Heap_Block, but the size of Heap_Block is 8. Why? Does the 8 mean 8*8-bit or 8*16-bit or 8*32-bit.
>
>
There are two 32-bit values required to managed a block in the heap when
it is
free or in use. It takes 2 more to manage it when it is free. So you end up
with a minimum heap block size of 8 bytes out of 16 bytes used.
>
>
> shannon
> zhou_xingjian at 163.com
> 2003-09-16
>
>
>
>
More information about the users
mailing list