On 2008 Dec 21, at 16:47, Don Stewart wrote:
redcom:
The long running process is pretty atomic, it's a single query to the
database which takes up to a minute to complete so I don't see a
chance to
squeeze a "mainIteration" in there.
How are you compiling this code (-O -threaded ?) and what does the
forkIO'd thread do? Does it allocate?
Sounds to me like it's making FFI calls to a database library. I
smell bound threads, especially if the UI also makes FFI calls.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe