Difference between revisions of "Uno/Spec/Thread Unsafety Bridge"

From Apache OpenOffice Wiki
< Uno‎ | Spec
Jump to: navigation, search
m (Feature: Wording.)
m (Fixed section indentation, some wording, adapted links.)
Line 1: Line 1:
state:   draft          <br>
+
Type: Specification State: draft
type:    specification <br>
+
  
== Thread Unsafety Bridge ==
+
==Feature==
 
+
=== 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, an thread-safe environment is entered, if any thread has one of the methods provided by the <code>Enterable</code> API on the stack.
+
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 ===
+
==API==
Purpose named <code>":unsafe"</code>.
+
Environment purpose named <code>":unsafe"</code>.
  
=== Dependencies ===
+
==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".

Dependencies

Personal tools