Closed Bug 1573679 Opened 5 years ago Closed 5 years ago

Add new IsCurrentThreadExplicitMTA function

Categories

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

Unspecified
Windows
enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

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: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: