Notes (HPFP 30/31): When things go wrong
30 When things go wrong
30.9 Asynchronous Exceptions
Looks like I can’t get test.dat to have all 0’s. If the thread exceptions the file ends up empty. Maybe GHC changed the way it deals with writing files since this was written?
30.10 Follow-up Reading
- A Beginnner’s Guide to Exceptions in Haskell; Erin Swenson-Healey
- Chapter 8. Overlapping Input/Output; Parallel and Concurrent Programming in Haskell; Simon Marlow;
- Chapter 9. Cancellation and Timeouts; Parallel and Concurrent Programming in Haskell; Simon Marlow;
- An Extensible Dynamically-Typed Hierarchy of Exceptions; Simon Marlow