Difference between revisions of "Uno/Spec/Threading-Model"
From Apache OpenOffice Wiki
m (Uno/Spec/Threading Model moved to Uno/Spec/Threading-Model: Added dash.) |
m (Fixed section indentation.) |
||
| Line 1: | Line 1: | ||
| − | State: | + | Type: Specification State: draft |
| − | |||
| − | + | ==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]], | ||
| Line 11: | Line 8: | ||
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. | 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== | |
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== | |
Two thread related purposes: | Two thread related purposes: | ||
* <code>":unsafe"</code> - for [[Uno/Term/Thread Unsafe|thread-unsafe]] code. | * <code>":unsafe"</code> - for [[Uno/Term/Thread Unsafe|thread-unsafe]] code. | ||
* <code>":affine"</code> - for [[Uno/Term/Thread Affine|thread-affine]] code. | * <code>":affine"</code> - for [[Uno/Term/Thread Affine|thread-affine]] code. | ||
| − | + | ==Dependencies== | |
* [[Uno/Spec/Thread Affinity Bridge]] | * [[Uno/Spec/Thread Affinity Bridge]] | ||
* [[Uno/Spec/Thread Unsafety Bridge]] | * [[Uno/Spec/Thread Unsafety Bridge]] | ||
Revision as of 08:51, 5 September 2006
Type: Specification State: draft
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.