|
Sets the minimum size of the stack associated with the calling thread or fiber that will be available during any stack overflow exceptions. This is useful for handling stack overflow exceptions; the application can safely use the specified number of bytes during exception handling.
Unit
Syntax
Return valueIf the function succeeds, the return value is True. If the function fails, the return value is False. To get extended error information, call GetLastError.
RemarksYou can specify the reserved stack space by setting the _resetstkoflwtstkoflw functionELowLevel._ThreadStackGuarantee.
To set the stack guarantee for a fiber, you must first call the SwitchToFiber function to execute the fiber. After you set the guarantee for this fiber, it is used by the fiber no matter which thread executes the fiber.
See also
| ||||||