October 2018
Beginner
794 pages
19h 23m
English
Here's an attempt at precisely that: the code for ch11/altstack.c and a run-time test. Also, we have added a neat feature (to the previous version: the defer_or_not program): sending the process SIGUSR2 signal will have it print out the first and the most recent stack pointer address. It will also calculate and display the delta—in effect, the amount of stack memory used so far by the application.
Changes from ch11/defer_or_not.c:
Read now
Unlock full access