3 ms·
What if malloc fails at that point because some other application (we're in a preemptive multitasking OS) decided to gobble up all RAM?
by Crinus 7y ago
What if malloc fails at that point because some other application (we're in a preemptive multitasking OS) decided to gobble up all RAM?
- fwip 7y agoIf your application fails at start-up, you don't need to worry about saving state and graceful failure.