From: Joel Reymont <[EMAIL PROTECTED]>
To: Branimir Maksimovic <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [Haskell-cafe] Re: syscall, sigpause and EINTR on Mac OSX
Date: Sun, 11 Dec 2005 16:56:23 +0000

On Dec 11, 2005, at 4:50 PM, Branimir Maksimovic wrote:

This is not signal, it is result from call to pause() .
[...]
you have to look elsewhere as this is normal behavior.

You are saying that triggering my ^C handler randomly is normal behavior? I understand why it goes to wait for signals but it still does not explain where the signal itself is coming from.

I'm saying that neither is this result of signal, nor stack
trace shows that any signal handler is called. It just shows call
to await.... and await calls pause. That's all

Greetings, Bane.


Strange is that you are using threaded
run time (I guess ) but this function is defined only for single threaded variant.
This I implied from #if !defined(RTS_SUPPORTS_THREADS)

I'm not using a threaded runtime in this case. It appears that -debug and -threaded are incompatible as I get an error about a mixed debug/ threaded runtime library not being available. I compile with -debug so that I can run +RTS -Ds to check for deadlocks.

        Thanks, Joel

--
http://wagerlabs.com/






_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to