Difference between revisions of "Uno/Spec/Thread Unsafety Bridge"
From Apache OpenOffice Wiki
m (→Feature: Rephrased.) |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | Type: Specification State: stable | |
− | + | ||
− | == | + | ==Feature== |
+ | This [[../Bridge|bridge]] protects [[Uno/Term/Thread Unsafe|thread-unsafe]] objects from being called by multiple threads in parallel. | ||
− | + | Only one thread at a time can enter a [[Uno/Term/Thread Unsafe|thread-unsafe]] environment, a [[Uno/Term/Thread Unsafe|thread-unsafe]] environment is entered, if any thread has one of the methods provided by the <code>Enterable</code> API on the stack. | |
− | + | ||
− | + | ==API== | |
− | + | Environment purpose named <code>":unsafe"</code>. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ==Dependencies== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
* [[../Environment Stack]] | * [[../Environment Stack]] | ||
+ | [[Category:Draft]] | ||
+ | [[Category:Spec]] | ||
+ | [[Category:Uno]] | ||
[[Category:Uno:Spec]] | [[Category:Uno:Spec]] | ||
+ | [[Category:Multi-Threading]] |
Latest revision as of 07:23, 19 June 2007
Type: Specification State: stable
Feature
This bridge protects thread-unsafe objects from being called by multiple threads in parallel.
Only one thread at a time can enter a thread-unsafe environment, a thread-unsafe environment is entered, if any thread has one of the methods provided by the Enterable
API on the stack.
API
Environment purpose named ":unsafe"
.