patch applied (ghc-6.12/packages/base): change to use STM, fixing
4 things
Ian Lynagh
igloo at earth.li
Thu Mar 18 10:34:35 EDT 2010
Thu Mar 18 03:44:36 PDT 2010 Simon Marlow <marlowsd at gmail.com>
* change to use STM, fixing 4 things
1. there was no async exception protection
2. there was a space leak (now new value is strict)
3. using atomicModifyIORef would be slightly quicker, but can
suffer from adverse scheduling issues (see #3838)
4. also, the STM version is faster.
M ./Data/Unique.hs -8 +15
More information about the Cvs-libraries
mailing list