Difference between revisions of "Uno/Binary/Impl/Thread Unsafety Bridge"

From Apache OpenOffice Wiki
< Uno‎ | Binary
Jump to: navigation, search
m (Splitted categories.)
m (Updated.)
Line 1: Line 1:
version: {{REVISIONID}}   <br>
+
Type: implementation State: finished  CWS: {{Uno/CWS|SRC680|bunoexttm}}
state:  UTF2              <br>
+
type:    impl. description <br>
+
  
==Thread Unsafey Bridge==
 
 
Implementation of the [[Uno/Binary/Spec/Thread Unsafety Bridge]].
 
Implementation of the [[Uno/Binary/Spec/Thread Unsafety Bridge]].
  
===Implementation===
+
==Description==
The unsafety purpose bridge for binary Uno is implemented by deriving it from the [[Uno/Cpp/Spec/Purpose_Bridge_Implementation_Helper]] and adding a MutEx as a member.
+
The unsafe purpose bridge for [[Uno/Binary|binary Uno]] is implemented by deriving it from the [[Uno/Cpp/Spec/Purpose_Bridge_Implementation_Helper|Purpose Bridge Implementation Helper]] and adding a MutEx as a member.
  
 
The MutEx gets
 
The MutEx gets
 
* acquired when entering the environment or calling into it,
 
* acquired when entering the environment or calling into it,
 
* released when leaving the environment,
 
* released when leaving the environment,
calling out of the environment keeps the MutEx acquired and therefor does not allow another thread to enter it meanwhile.
+
calling out of the environment keeps the MutEx acquired and therefore does not allow another thread to enter it meanwhile.
 
The MutEx is a SAL MutEx and can be acquired respectively needs to be released multiple times by the same thread.
 
The MutEx is a SAL MutEx and can be acquired respectively needs to be released multiple times by the same thread.
  
===Files===
+
==Files==
* cppu/source/MutexEnvironment/MutexEnvironment.cxx -r1.1.2.1 - -r1.1.2.2
+
* {{Uno/UDKlink|cppu/source/UnsafeBridge/UnsafeBridge.cxx}}
* cppu/source/MutexEnvironment/makefile.mk         -r1.1.2.1
+
* {{Uno/UDKlink|cppu/source/UnsafeBridge/makefile.mk}}
* cppu/prj/d.lst                                    -r1.15.2.5
+
  
===Dependencies===
+
==Tests==
 +
* [[../../Test/Thread Unsafety Bridge]]
 +
 
 +
==Dependencies==
 
* [[Uno/Binary/Impl/Environment Stack]]
 
* [[Uno/Binary/Impl/Environment Stack]]
 
* [[Uno/Cpp/Spec/Purpose_Bridge_Implementation_Helper]]
 
* [[Uno/Cpp/Spec/Purpose_Bridge_Implementation_Helper]]
* [[../../Test/Thread Unsafety Bridge]]
 
  
  
 
[[Category:Impl]]
 
[[Category:Impl]]
 +
[[Category:Module:CPPU]]
 
[[Category:Uno]]
 
[[Category:Uno]]
 
[[Category:Uno:Binary]]
 
[[Category:Uno:Binary]]

Revision as of 08:52, 12 February 2007

Type: implementation State: finished CWS: bunoexttm

Implementation of the Uno/Binary/Spec/Thread Unsafety Bridge.

Description

The unsafe purpose bridge for binary Uno is implemented by deriving it from the Purpose Bridge Implementation Helper and adding a MutEx as a member.

The MutEx gets

  • acquired when entering the environment or calling into it,
  • released when leaving the environment,

calling out of the environment keeps the MutEx acquired and therefore does not allow another thread to enter it meanwhile. The MutEx is a SAL MutEx and can be acquired respectively needs to be released multiple times by the same thread.

Files

Tests

Dependencies

Personal tools