Compare commits

..

1 Commits
0.0.2 ... 0.0.3

Author SHA1 Message Date
elasota
a58b73aeb4 Remove GetCurrentThreadStackLimits call (for Win7 support) 2020-02-08 03:19:48 -05:00

View File

@@ -32,10 +32,14 @@ IGpFiber *GpFiberStarter::StartFiber(ThreadFunc_t threadFunc, void *context, IGp
{
ULONG_PTR lowLimit;
ULONG_PTR highLimit;
#if 0
GetCurrentThreadStackLimits(&lowLimit, &highLimit);
ULONG_PTR stackSize = highLimit - lowLimit;
ULONG_PTR stackSize = highLimit - lowLimit;
#else
ULONG_PTR stackSize = 1024 * 1024;
#endif
GpFiberStarter_Win32::FiberStartState startState;
startState.m_context = context;