[Mono-bugs] [Bug 321541] Application.Idle called once per thread instead of 1 time only
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed May 30 12:18:50 UTC 2012
https://bugzilla.novell.com/show_bug.cgi?id=321541
https://bugzilla.novell.com/show_bug.cgi?id=321541#c5
--- Comment #5 from Robert Wilkens <robwilkens at gmail.com> 2012-05-30 12:18:47 UTC ---
Ok, I was wrong, there is a difference between the way Microsoft does it and
the way Mono does it, and the way Microsoft does it makes more sense:
The second Application.Run() that is reached in Microsoft code immediately
exits.. It doesn't go into a message loop.
The second Application.Run() that is reached in Mono code continues on to
process the message loop.
What probably has to happen: In a multithreaded situation, when mono first gets
to Application.Run() before it starts processing the message loop, it should
set a flag (thread safe) which indicates it is active, and this should, on
subsequent calls to Application.Run() if that flag is set it should just
immediately return ..
--
Configure bugmail: https://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