|
Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
|
#include <interface.h>
Data Fields | |
| struct srn_block_t * | next |
| when the block does not have space to allocate a request, we will allocate a new block and point to it here, a simple link list. | |
| size_t | size |
| This is the TOTAL size of the block, header + payloud. | |
| size_t | offset |
| Offset from the base. | |
| uint8_t | base [] |
| Where the data area starts. | |
Definition at line 74 of file interface.h.
| uint8_t srn_block_t::base[] |
Where the data area starts.
Blocks carry no lock of their own; the owning chain's lock lives in srn_mm_t.chain_locks, outside the memory being freed on release.
Definition at line 89 of file interface.h.
| struct srn_block_t* srn_block_t::next |
when the block does not have space to allocate a request, we will allocate a new block and point to it here, a simple link list.
Definition at line 77 of file interface.h.
| size_t srn_block_t::offset |
Offset from the base.
Definition at line 85 of file interface.h.
| size_t srn_block_t::size |
This is the TOTAL size of the block, header + payloud.
Basically the same as srn_mm_t.block_size. We have a copy here just for a few cases that one might use a block outside of the memory manager.
Definition at line 82 of file interface.h.