Changeset 3f7e12cb for src/libcfa/concurrency/coroutine.c
- Timestamp:
- Nov 8, 2017, 5:43:33 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 954908d
- Parents:
- 78315272 (diff), e35f30a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutine.c
r78315272 r3f7e12cb 123 123 if(pageSize == 0ul) pageSize = sysconf( _SC_PAGESIZE ); 124 124 125 LIB_DEBUG_PRINT_SAFE("FRED");126 127 125 size_t cxtSize = libCeiling( sizeof(machine_context_t), 8 ); // minimum alignment 128 126 … … 158 156 this->limit = (char *)libCeiling( (unsigned long)this->storage, 16 ); // minimum alignment 159 157 } // if 160 assertf( this->size >= MinStackSize, "Stack size % d provides less than minimum of %d bytes for a stack.", this->size, MinStackSize );158 assertf( this->size >= MinStackSize, "Stack size %zd provides less than minimum of %d bytes for a stack.", this->size, MinStackSize ); 161 159 162 160 this->base = (char *)this->limit + this->size;
Note:
See TracChangeset
for help on using the changeset viewer.