Effort/Encapsulate the Win32 thread affinity

From Apache OpenOffice Wiki
< Effort
Revision as of 07:14, 19 June 2007 by Kr (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Type: Effort Status: in progress Owner: Kay Ramme

Problem

The Win32 thread-affinity of the window create and managing functions is inherited by VCL from Windows. This results in code to need explicitly taking care of this, e.g. by delegating function invocations into the "main" thread.

Solution

Use a private thread for window creation and message handling. Delegate all calls leading to the invocation of these functions into the private thread. Use the extended Binary Uno threading-model to simplify the implementation.

Time Frame

Tasks

Title State CWS
Implement wrappers for VCL window related Win32 backend. 90% vclthreadtransparency1
Personal tools