[rdnzl-devel] Generic types and default thread apartment

Edi Weitz edi at agharta.de
Thu Sep 21 21:24:08 UTC 2006


On Thu, 14 Sep 2006 11:09:11 +0200, "Goffioul Michael" <goffioul at imec.be> wrote:

> I'm not an expert neither, but I think this is related to Interop
> and COM. In Single-Thread-Apartment (STA), all COM messages are
> processed in the same thread, while in Multi-Thread-Apartment (MTA,
> the default in .NET if you don't specify anything) COM objects can
> be accessed by multiple concurrent threads. In GUI, even in
> multithread application, the GUI (message loop) must run in a single
> thread, I guess that's why STA is preferable in Windows Forms
> application (In Visual Studio 2005, when you use the wizard to start
> a GUI application, it set the threading model to STA by default).

Just FYI - this change (RDNZL 0.10.6) also resolves the old issue
mentioned here

  http://common-lisp.net/pipermail/rdnzl-devel/2005-December/000041.html

for AllegroCL.  For LispWorks 4.4.6 you can find a workaround in the
mailing list, for LispWorks 5.0 and Corman Lisp you don't need a fix.



More information about the rdnzl-devel mailing list