Using fibers to expand a thread’s stack at runtime, part 1
Last time, we considered a library that required a lot of stack space, and critiqued one proposed solution that involved pre-emptively converting every thread to a fiber.
The solution is simply not doing anything at all in the DLL_PROCESS_ATTACH notification. Instead, do the work when the application calls into the library.
For concreteness Continue reading Using fibers to expand a thread’s stack at runtime, part 1