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

From Apache OpenOffice Wiki
< Uno‎ | Term
Jump to: navigation, search
m (Added link to Thread Affinity Bridge.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
; 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 [[Uno/Term/Thread Aware|thread aware]].
+
; 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 [[Uno/Term/Thread Aware|thread aware]].  
Thread affine objects may be encapsulated by the [[Uno/Spec/Thread Affinity Bridge|Thread Affinity Environment]], ensuring [[Uno/Term/Thread Transparent|thread transparency]].
+
Thread affine objects may be encapsulated by the [[Uno/Spec/Thread Affinity Bridge|Thread Affinity Environment]], ensuring [[Uno/Term/Thread Transparent|thread transparency]]. Thus, with thread unsafe code, thread affine code shares the property that locking is dealt with by the purpose environment.
  
 
+
[[Category:Uno]]
[[Category:Uno: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