[Mono-dev] Mono hangs on shutdown when /dev/ttySx ports were opened.
skolima at gmail.com
Mon Sep 21 03:48:12 EDT 2009
On Thu, Sep 17, 2009 at 2:43 PM, Zoltan Varga <vargaz at gmail.com> wrote:
> The runtime tries to abort all threads and waits for them to terminate, so
> if a thread refuses
> to die for some reason, the runtime will hang. Its possible that the serial
> port code doesn't
> check for thread aborts/interruptions.
Zoltan could you please explain how the mono/mono/support/*.c code
should execute native blocking calls so that the runtime can shutdown
correctly? Do I guess correctly that read, write and other similar
calls will return with EINTR when the thread is aborted? How can a
thread know that it is being aborted and not just interrupted for
More information about the Mono-devel-list