Closed Bug 1573679 Opened 1 year ago Closed 1 year ago

Add new IsCurrentThreadExplicitMTA function

Categories

(Core :: IPC: MSCOM, enhancement, P1)

Unspecified
Windows
enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: aklotz, Assigned: aklotz)

References

Details

Attachments

(1 file)

As we previously learned, a thread may be initialized with an implicit MTA if the current thread has not specified an apartment via CoInitializeEx and the MTA is instantiated on another thread.

It is useful to be able to know whether the current thread is running on an explicit MTA.

This patch provides us with utility functions that give us more specific
information about the current thread's MTA if so desired.

Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/623da84b651a
Add IsCurrentThread(Explicit|Implicit)MTA utility functions to mscom; r=Jamie
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.