
Hello Günther, Monday, December 22, 2008, 1:57:22 AM, you wrote: try -threaded, +RTS -N2, and forkOS simultaneously. it may work - i don't see reasons why other threads should be freezd why one does unsafe call nother solution is to compile library with unsafe call changed to safe. this change is always safe but make call ~10mcs slower :)
Hi Mads,
I just noticed that too.
I had been wondering why this problem does not occur with the sample app from RWH eventhough I was employing the same technics as they did.
It just occured to me that all the DB interactions in their app are fairly short and thus the problem never becomes apparent.
Thanks everyone, I was going crazy here, couldn't figure out what I was doing wrong.
Would anyone happen to know of a "safe" alternative to HDBC?
Günther
Am 21.12.2008, 23:39 Uhr, schrieb Mads Lindstrøm
:
Hi Günther,
Hi Mads,
I'm using HDBC with sqlite3
Looking at http://software.complete.org/software/repositories/entry/hdbc-sqlite3/Databa... and http://software.complete.org/software/repositories/entry/hdbc-sqlite3/Databa... you can see that HDBC-sqlite's foreign calls are indeed marked unsafe.
/Mads
Günther
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com