Difference between revisions of "Uno/Spec/Threading-Model"
From Apache OpenOffice Wiki
m (added catagory "draft".) |
(Removed "thread free".) |
||
| Line 2: | Line 2: | ||
Type: specification <br> | Type: specification <br> | ||
| − | == | + | ==Uno Threading Model== |
| − | === Feature === | + | ===Feature=== |
The [[../Runtime|Runtime]] provides dedicated support for implementing and handling | The [[../Runtime|Runtime]] provides dedicated support for implementing and handling | ||
| − | + | * [[Uno/Term/Thread Safe|thread-safe]], | |
| − | * [[Uno/Term/Thread Safe|thread safe]], | + | * [[Uno/Term/Thread Unsafe|thread-unsafe]], and |
| − | * [[Uno/Term/Thread Unsafe|thread unsafe]], and | + | * [[Uno/Term/Thread Affine|thread-affine]] |
| − | * [[Uno/Term/Thread Affine|thread affine]] | + | 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=== |
| − | 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]]) | + | 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]]). |
| − | === API === | + | ===API=== |
Two thread related purposes: | Two thread related purposes: | ||
| − | * <code>":unsafe"</code> - for [[Uno/Term/Thread Unsafe| | + | * <code>":unsafe"</code> - for [[Uno/Term/Thread Unsafe|thread-unsafe]] code. |
| − | * <code>":affine"</code> - for [[Uno/Term/Thread Affine| | + | * <code>":affine"</code> - for [[Uno/Term/Thread Affine|thread-affine]] code. |
| − | === Dependencies === | + | ===Dependencies=== |
* [[Uno/Spec/Thread Affinity Bridge]] | * [[Uno/Spec/Thread Affinity Bridge]] | ||
* [[Uno/Spec/Thread Unsafety Bridge]] | * [[Uno/Spec/Thread Unsafety Bridge]] | ||
Revision as of 07:17, 3 August 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).
API
Two thread related purposes:
":unsafe"- for thread-unsafe code.":affine"- for thread-affine code.