Searched refs:stackMemory (Results 1 – 3 of 3) sorted by relevance
| /TaskScheduler/Scheduler/Source/ |
| H A D | MTDefaultAppInterop.cpp | 117 …desc.stackMemory = (char*)VirtualAlloc(NULL, desc.stackMemoryBytesCount, MW_MEM_COMMIT, MW_PAGE_RE… in AllocStack() 118 MT_ASSERT(desc.stackMemory != NULL, "Can't allocate memory"); in AllocStack() 120 desc.stackBottom = desc.stackMemory + pageSize; in AllocStack() 121 desc.stackTop = desc.stackMemory + desc.stackMemoryBytesCount; in AllocStack() 124 MW_BOOL res = VirtualProtect(desc.stackMemory, pageSize, MW_PAGE_NOACCESS, &oldProtect); in AllocStack() 145 MT_ASSERT((void *)desc.stackMemory != (void *)-1, "Can't allocate memory"); in AllocStack() 147 desc.stackBottom = desc.stackMemory + pageSize; in AllocStack() 148 desc.stackTop = desc.stackMemory + desc.stackMemoryBytesCount; in AllocStack() 150 int res = mprotect(desc.stackMemory, pageSize, PROT_NONE); in AllocStack() 164 int res = VirtualFree(desc.stackMemory, 0, MW_MEM_RELEASE); in FreeStack() [all …]
|
| /TaskScheduler/Scheduler/Include/ |
| H A D | MTAppInterop.h | 59 char* stackMemory; member 66 , stackMemory(nullptr) in StackDesc()
|
| /TaskScheduler/Scheduler/Include/Platform/Posix/ |
| H A D | MTThread.h | 294 if (stackDesc.stackMemory != nullptr) in Join()
|