Difference between revisions of "Uno/Term/Thread Affine"

From Apache OpenOffice Wiki
< Uno‎ | Term
Jump to: navigation, search
m (Split categories.)
 
Line 4: Line 4:
 
[[Category:Uno]]
 
[[Category:Uno]]
 
[[Category:Term]]
 
[[Category:Term]]
 +
[[Category:Multi-Threading]]

Latest revision as of 07:20, 19 June 2007

Thread Affine
Code is Thread Affine, if it offers services to particular threads only (e.g. on Win32 the DestroyWindow function may only be called with a hWnd created by the same thread). Thread affine code is thread aware.

Thread affine objects may be encapsulated by the Thread Affinity Environment, ensuring thread transparency. Thus, with thread unsafe code, thread affine code shares the property that locking is dealt with by the purpose environment.

Personal tools