Difference between revisions of "Uno/Spec/Thread Unsafety Bridge"
From Apache OpenOffice Wiki
m (→Feature: Wording.) |
m (Fixed section indentation, some wording, adapted links.) |
||
Line 1: | Line 1: | ||
− | + | Type: Specification State: draft | |
− | + | ||
− | + | ==Feature== | |
− | + | ||
− | + | ||
This [[../Bridge|bridge]] protects [[Uno/Term/Thread Unsafe|thread-unsafe]] objects from being called by multiple threads in parallel. | 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 thread-unsafe environment, | + | 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:Uno:Spec]] | [[Category:Uno:Spec]] |
Revision as of 16:02, 6 September 2006
Type: Specification State: draft
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"
.