haskell-distributed / network-transport-tcp

TCP Realisation of Network.Transport
http://haskell-distributed.github.com
BSD 3-Clause "New" or "Revised" License
30 stars 25 forks source link

Make schedule - runScheduled pair exception safe. #15

Closed qnikst closed 9 years ago

qnikst commented 9 years ago

Instead of using schedule/runScheduled actions separately, because they are exceptions unsafe, we introduce a withScheduledAction function that cares about the safety by providing correct finalizers.

X-Bug-URL: https://cloud-haskell.atlassian.net/browse/DP-109