[Mono-bugs] [Bug 592981] UnixSignal.WaitAny not interrupted when exiting

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 1 16:04:57 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=592981

http://bugzilla.novell.com/show_bug.cgi?id=592981#c4


--- Comment #4 from Jonathan Pryor <jpryor at novell.com> 2010-04-01 20:04:56 UTC ---
@Gonzalo: I'm not sure the loop while ignoring EINTR is tbnc592981.che problem.
 As seen in bnc592981.c:39-41, my attempted C program does the same thing.

Result: I see a message indicating that the "alt" thread is running (which is
intended to mimic, somewhat, the C# background thread in the original program)
but I do NOT see the "alt_thread:poll returned!" message.  (Plus, it's also
wrapped in a loop that ignores EINTR.)

This leads me to believe that something else is wrong, as with the C program we
can clearly see that the thread is being aborted before it even successfully
exits.

Why doesn't the same thing happen with the C# app?

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list