[Mono-dev] System.Threading.Thread.ApartmentState Patch

Jonathan Chambers joncham at gmail.com
Wed May 2 16:21:47 EDT 2007


Gert,

Yes, with this patch you should be able to just check
Thread.CurrentThread.ApartmentState.

Jonathan

On 5/2/07, Gert Driesen <gert.driesen at telenet.be> wrote:
>
> Jonathan,
>
> Does this mean we can enable the fix for bug #78455, and remove the extra
> check in WaitHandle.IsSTAThread ?
>
> Gert
>
> ________________________________
>
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Jonathan
> Chambers
> Sent: woensdag 2 mei 2007 21:58
> To: mono-devel
> Subject: [Mono-dev] System.Threading.Thread.ApartmentState Patch
>
>
> Hello,
>      Here is a patch to implement Thread.ApartmentState related
> methods/properties. The methods/properties behave correctly on all
> platforms, but only call CoInitialize on Windows. I will also commit the
> change detailed in bug 80798 before/with this patch else the error
> described
> in the bug becomes much more frequent on windows (the change may fix bug
> 77075). Please review.
>
> All changes contributed under MIT/X11 license.
>
> Thanks,
> Jonathan
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070502/c815f993/attachment.html 


More information about the Mono-devel-list mailing list