3 ms·
How do you manage stack memory (allocation, increasing capacity, freeing, moving, etc.)? Is it possible to suspend a fiber to disk?
by amelius 8y ago
How do you manage stack memory (allocation, increasing capacity, freeing, moving, etc.)? Is it possible to suspend a fiber to disk?
- CodesInChaos 8y agoA Fiber has its own OS stack and cannot outlive the process (just like a thread). So the memory cost is the same as a normal thread. The main difference is that it uses cooperative scheduling.