Difference between revisions of "Uno/Spec/Threading-Model"
From Apache OpenOffice Wiki
m (→Rationale: Added content.) |
m (→Feature: Fixed links.) |
||
| Line 6: | Line 6: | ||
=== Feature === | === Feature === | ||
The [[../Runtime|Runtime]] provides dedicated support for implementing and handling | The [[../Runtime|Runtime]] provides dedicated support for implementing and handling | ||
| − | * [[Uno/ | + | * [[Uno/Term/Thread Free|thread free]], |
| − | * [[Uno/ | + | * [[Uno/Term/Thread Safe|thread safe]], |
| − | * [[Uno/ | + | * [[Uno/Term/Thread Unsafe|thread unsafe]], and |
| − | * [[Uno/ | + | * [[Uno/Term/Thread Affine|thread affine]] |
| − | Code. The threading type of any code can be specified appropriately. The [[Uno/ | + | Code. The threading type of any code can be specified appropriately. The [[Uno/Term/Thread Unsafe|thread unsafe]] type is the default type for any implementation. |
=== Rationale === | === Rationale === | ||
Revision as of 08:37, 10 July 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.