To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=92756





------- Additional comments from [EMAIL PROTECTED] Fri Aug 15 12:50:31 +0000 
2008 -------
This is because some COM object instances (f.e. desktop namespace root obtained
by SHGetDesktopObject()) are held as a singleton by COM. Though these ojects can
only be used directly from the thread that instantiated them first because the
implementation of these objects is not guaranteed to be thread aware. This is
reflected by the (undocumented fact) that most of shell or UI related Windows
API function can only be called from a STA.

Marshalling between apartments is done by a SendMessage call to the threads
message queque that instatiated the COM object. Threads that instantiate COM
objects must at least have one Window with a Windowproc so that the Sendmessage
mechanism works. This thread must never be blocked.

A fix can be done in SAL with MsgWaitForMultipleObject if only SendMessage calls
are processed while waiting for a synchronization object.






---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to