3 ms·
I'm surprised you didn't pile on by making a printf which switches to the main stack, does the actual printf, and switches back.
by anonymoushn 6y ago
I'm surprised you didn't pile on by making a printf which switches to the main stack, does the actual printf, and switches back.
- deleted 6y ago[deleted]
- greggman3 6y agoprintf was just an obvious example. Any function had this problem. You run, things work, and then under some condition the function you called called something else and crash. Or you try to add some functionality to a function in the system and suddenly the tasks crash because your edit used more stack. The point isn't to dis this method. It's just to say it was frustrating with tiny stacks.
- anonymoushn 6y agoI see, that does sound tough.