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

From Apache OpenOffice Wiki
< Uno‎ | Spec
Jump to: navigation, search
m (API: Fixed "purpose" name.)
m (Feature: Wording.)
Line 5: Line 5:
  
 
=== Feature ===
 
=== Feature ===
This [[../Bridge|bridge]] protects [[Uno/Term/Thread Unsafe|thread unsafe]] objects from being called by multiple threads concurrently.  
+
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 Unsafety Environment, an Unsafety 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 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.
  
 
=== API ===
 
=== API ===

Revision as of 16:10, 3 August 2006

state: draft
type: specification

Thread Unsafety Bridge

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, an thread-safe environment is entered, if any thread has one of the methods provided by the Enterable API on the stack.

API

Purpose named ":unsafe".

Dependencies

Personal tools