# MTA Threading model

**URL:** <https://techcommunity.softwareag.com/t/mta-threading-model/59870>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX-DCOM\
**Created:** [June 18, 2007, 6:02pm UTC](https://techcommunity.softwareag.com/t/mta-threading-model/59870 "2007-06-18T18:02:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rambabu](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@rambabu](https://techcommunity.softwareag.com/u/rambabu)\
**Post date:** [June 18, 2007, 6:02pm UTC](https://techcommunity.softwareag.com/t/mta-threading-model/59870/1 "2007-06-18T18:02:15Z")

</div>

MTA objects can be accessed from any thread directly as the object is responsible for synchronization.Why can not an MTA object can be accessed from STA directly?Why we need to marshall MTA object pointer when we need to access it from STA?  
If we use CoCreateFreeThreadedMarshaler() we can get direct interface pointer.Why doesn’t COM standard marshaller do  
that for MTA interface pointers?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/mta-threading-model/59870/2 "2021-04-02T14:40:06Z")

</div>


