I am trying to use dynamic-wind to execute code on thread suspension and thread restore but it doesn't seem to work. Is it possible or is there a way that I can do this? I need it to call a thunk just before it will call its continuation or just after it has been suspended.
What is the correct way to do this?
Afficher les réponses par date