Thread behavior in 7.8.3

Michael Jones mike at
Tue Jan 13 23:09:29 UTC 2015



In this case, I can duplicate the problem when not using USB (USB to i2c dongle) by using /dev/i2c_n, and when I do use USB, in some cases the USB is working (can see i2c on scope), but the GUI is hung. So I believe this is not causing the problem.



On Jan 13, 2015, at 1:02 PM, Ben Gamari <bgamari.foss at> wrote:

> Michael Jones <mike at> writes:
>> Sorry I am reviving an old problem, but it has resurfaced, such that
>> one system behaves different than another.
> [snip]
>> 1) Does ghc 7.8.4 have any improvements that might pertain to these kinds of scheduling/thread problems?
>> 2) Is there anything about the nature of a thread using USB, I2C, or wxHaskell IO that leads to problems that a pure calculation app would not have?
> Do you know about [1]? This is a regression due to an interface change
> that arose from the new event manager. `usb`` has a workaround,
> GHC 7.10 will have a fixed event manager [2].
> Given that it sounds like your program works some of the time this may
> not be relevant but I thought it would be negligent not to mention it.
> Cheers,
> - Ben
> [1]
> [2]

More information about the Glasgow-haskell-users mailing list