6 ms·
It also fails on multithdreaded programs, unless you add even more assumptions on the allocator.
by giomasce 4y ago
It also fails on multithdreaded programs, unless you add even more assumptions on the allocator.
- smarks 4y ago"Multidreaded programs" :-) This was at least a decade before multithreading in C and Unix. But yes this "technique" would have failed miserably in a multithreaded environment.
- Jweb_Guru 4y agoI mean, it wouldn't even work with interrupts, technically (though an interrupt that plays "nice" shouldn't allocate).