[Mono-dev] Request for Novell bug maintainer
robwilkens at gmail.com
Wed May 30 12:17:28 UTC 2012
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 ..
If anyone wants to discuss this here, fine, otherwise, I'm going to copy
and paste some of the above into the bug report and it can be discussed
On 05/30/2012 02:01 AM, Stifu wrote:
> So, there is nothing left to fix in this bug, and Mono behaves the same as
> .NET. Is that right?
> By the way, I think that on bugzilla.novell, anyone can close bugs and all,
> unlike on xamarin.bugzilla.
> Robert Wilkens wrote
>> I was just looking at this old 'bug' from the Novell's bugzilla:
>> Some stuff was fixed for that bug some 6 years ago, but it hasn't been
>> closed yet because they didn't understand why the events were being
>> delivered to both threads.
>> The answer is because both threads in the sample code are processing the
>> same event queue by virtue of calling Application.Run() which is the
>> event processor, and there is only one event queue per application. I
>> read this somewhere on msdn today when i was googling information
>> related to the problem. Only one thread should be processing the event
>> Does anyone here have the authority to close old Novell bugs such as
>> this one? It would make it easier to get an idea of what is actually
>> still broken versus what needs to be fixed.
>> I am only writing here because i saw very few people were being cc'd
>> when i made a comment on it stating this much.
>> Mono-devel-list mailing list
>> Mono-devel-list at .ximian
> View this message in context: http://mono.1490590.n4.nabble.com/Request-for-Novell-bug-maintainer-tp4649597p4649598.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list