Sat Oct 3 13:14:36 EDT 2015

Stack ripping


    Another bad consequence of this code separation is that the state
    kept in callbacks are independent of each other as all local
    variables residing in their stacks are lost on returning. To keep
    state, their stacks must be manually reconstructed in the heap and
    passed as extra parameter from callback to callback.  This
    phenomenon is known as stack ripping.