Difference between revisions of "Uno/Spec/Threading-Model"
From Apache OpenOffice Wiki
m (→Feature: Added link.) |
m (→Rationale: Added content.) |
||
Line 13: | Line 13: | ||
=== Rationale === | === Rationale === | ||
+ | The [[Analysis/Multi_Threading]] shows OOo deficiencies wrt to multi threading and thread safeness. The [[Architecture/Threading]] proposal identifies three thread related types of code ([[Uno/Term/Thread Unsafe|thread unsafe]], [[Uno/Term/Thread Safe|thread safe]] and [[Uno/Term/Thread Affine|thread affine]]). Together with a generic type ([[Uno/Term/Thread Free|thread free]]) this gives the above list. | ||
=== API === | === API === |
Revision as of 13:19, 16 June 2006
state: draft
type: specification
UNO Threading Model
Feature
The Runtime provides dedicated support for implementing and handling
Code. The threading type of any code can be specified appropriately. The Thread Unsafe type is the default type for any implementation.
Rationale
The Analysis/Multi_Threading shows OOo deficiencies wrt to multi threading and thread safeness. The Architecture/Threading proposal identifies three thread related types of code (thread unsafe, thread safe and thread affine). Together with a generic type (thread free) this gives the above list.
API
Two thread related purposes:
-
":unsafe"
- for Thread Unsafe code. -
":affine"
- for Thread Affine code.