- File:
-
- 1 edited
-
src/libcfa/concurrency/coroutine.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutine.c
r2f6a7e93 rb462670 123 123 if(pageSize == 0ul) pageSize = sysconf( _SC_PAGESIZE ); 124 124 125 LIB_DEBUG_PRINT_SAFE("FRED"); 126 125 127 size_t cxtSize = libCeiling( sizeof(machine_context_t), 8 ); // minimum alignment 126 128 … … 156 158 this->limit = (char *)libCeiling( (unsigned long)this->storage, 16 ); // minimum alignment 157 159 } // if 158 assertf( this->size >= MinStackSize, "Stack size % zd provides less than minimum of %d bytes for a stack.", this->size, MinStackSize );160 assertf( this->size >= MinStackSize, "Stack size %d provides less than minimum of %d bytes for a stack.", this->size, MinStackSize ); 159 161 160 162 this->base = (char *)this->limit + this->size;
Note:
See TracChangeset
for help on using the changeset viewer.