Uno/Term/Thread Affine

From Apache OpenOffice Wiki
< Uno‎ | Term
Revision as of 07:20, 19 June 2007 by Kr (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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