Difference between revisions of "Uno/Binary/Impl/Thread Unsafety Bridge"
From Apache OpenOffice Wiki
m (Updated.) |
(Updated state.) |
||
Line 1: | Line 1: | ||
− | Type: | + | Type: Implementation State: Finished Availability: URE 1.3 (SRC680_m212) |
Implementation of the [[Uno/Binary/Spec/Thread Unsafety Bridge]]. | Implementation of the [[Uno/Binary/Spec/Thread Unsafety Bridge]]. |
Revision as of 11:59, 22 May 2007
Type: Implementation State: Finished Availability: URE 1.3 (SRC680_m212)
Implementation of the Uno/Binary/Spec/Thread Unsafety Bridge.
Contents
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.