How'd I miss these???
Instead, wrap janky signal-unsafe MySQL API calls with signal block/unblock actions at the C level. This should be faster than using bound threads, and also avoids the perils of running out of OS threads documented in http://hackage.haskell.org/trac/ghc/ticket/5174
--HG-- rename : COPYING => LICENSE
Also improved the performance of withRTSSignalsBlocked.