[Mono-winforms-list] [PATCH] Additional locking in Carbon XplatUI driver

Geoff Norton gnorton at novell.com
Mon May 4 21:36:04 EDT 2009


This is fine,

Thanks dick!

-g

On 04/30/2009 06:50 AM, Dick Porter wrote:
> Hi All
>
> I've observed NullReferenceExceptions from
> System.Windows.Forms.XplatUICarbon.GetMessage() (specifically,
> MessageQueue.Dequeue() inside GetMessage was randomly returning nulls)
> and tracked it down to the locking around MessageQueue.  This patch
> ensures that MessageQueue is locked whenever it is modified, completely
> curing the exceptions for me.
>
> Is this OK to check into HEAD?
>
> - Dick
>
>    
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20090504/24f9275e/attachment.html 


More information about the Mono-winforms-list mailing list