Home
last modified time | relevance | path

Searched refs:stackMemory (Results 1 – 3 of 3) sorted by relevance

/TaskScheduler/Scheduler/Source/
H A DMTDefaultAppInterop.cpp117 …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 DMTAppInterop.h59 char* stackMemory; member
66 , stackMemory(nullptr) in StackDesc()
/TaskScheduler/Scheduler/Include/Platform/Posix/
H A DMTThread.h294 if (stackDesc.stackMemory != nullptr) in Join()