Difference between revisions of "Uno/Spec/Threading-Model"
From Apache OpenOffice Wiki
(Removed "thread free".) |
m (→Rationale) |
||
| Line 12: | Line 12: | ||
===Rationale=== | ===Rationale=== | ||
| − | The [[Analysis/ | + | 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=== | ||
Revision as of 09:40, 4 September 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.