Difference between revisions of "Effort/Encapsulate the Win32 thread affinity"
From Apache OpenOffice Wiki
< Effort
(→Tasks: Updated tasks.) |
m (udated; wording;) |
||
| Line 1: | Line 1: | ||
| − | Type: Effort Status: in progress | + | Type: Effort Status: in progress Owner: [[KR|Kay Ramme]], [mailto:Kai.Sommerfeld@sun.com] |
==Problem== | ==Problem== | ||
| − | The Win32 [[Uno/Term/Thread Affine|thread-affinity]] of the window create and managing functions is inherited by VCL | + | The Win32 [[Uno/Term/Thread Affine|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 invokations into the "main" thread. |
==Solution== | ==Solution== | ||
| − | Use a private thread for window creation | + | Use a private thread for window creation and message handling. Delegate all calls leading to the invokation of these functions into the private thread. Use the [[Uno/Effort/Binary/Extend Threading-Model|extended Binary Uno threading-model]] to simplify the implementation. |
==Time Frame== | ==Time Frame== | ||
| Line 14: | Line 14: | ||
| Title || State || [[CWS]] | | Title || State || [[CWS]] | ||
|- | |- | ||
| − | | Implement wrappers for VCL window related Win32 backend || 90% || {{Uno/CWS|SRC680| | + | | Implement wrappers for VCL window related Win32 backend || 90% || {{Uno/CWS|SRC680|vclencwin32ta}} |
|} | |} | ||
[[Category:Effort]] | [[Category:Effort]] | ||
Revision as of 13:08, 24 November 2006
Type: Effort Status: in progress Owner: Kay Ramme, [1]
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 invokations into the "main" thread.
Solution
Use a private thread for window creation and message handling. Delegate all calls leading to the invokation 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% | vclencwin32ta |