Re: Integrating ghc's rts into other single-threaded frameworks

2004-05-05 Thread Wolfgang Thaller
So here's what I don't understand: we make a non-blocking call to gtk+'s main loop So far, so good. (which makes a blocking call in a new OS thread). With (the current version of) GHC's threaded RTS, there's only one OS thread involved until you spawn a second thread (with forkIO or forkOS).

Re: Using GHC and FFI

2004-07-16 Thread Wolfgang Thaller
and compiled this. So I created a file named project.obj. We normally use .o rather than .obj; I don't know if using .obj can cause any problems with ghc. After that I wrote ghc -fffi -c test.lhs. But when I call blah from ghci I get the error message: test.o unknown symbol '_test' I think ghc

<    1   2