diff options
author | Mathias Bauer <mba@openoffice.org> | 2009-10-09 18:03:16 +0200 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2009-10-09 18:03:16 +0200 |
commit | e0cea8e136b36724c6b1298e6546a4dbb8f09d00 (patch) | |
tree | 286e83a10312c6f7a44f19e8e0072c4837ac6f6b /vcl/os2 | |
parent | b1b5009015a70525edc7515d4f9723d53788aafc (diff) |
#i103496#: SolarMutex in tools
Diffstat (limited to 'vcl/os2')
-rw-r--r-- | vcl/os2/source/app/salinst.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/os2/source/app/salinst.cxx b/vcl/os2/source/app/salinst.cxx index a14881c253ee..2fffa3afd89d 100644 --- a/vcl/os2/source/app/salinst.cxx +++ b/vcl/os2/source/app/salinst.cxx @@ -55,6 +55,7 @@ #include <salbmp.h> #include <vcl/salimestatus.hxx> #include <vcl/timer.hxx> +#include <tools/solarmutex.hxx> // ======================================================================= @@ -501,12 +502,14 @@ Os2SalInstance::Os2SalInstance() mpSalWaitMutex = new vos::OMutex; mnYieldWaitCount = 0; mpSalYieldMutex->acquire(); + ::tools::SolarMutex::SetSolarMutex( mpSalYieldMutex ); } // ----------------------------------------------------------------------- Os2SalInstance::~Os2SalInstance() { + ::tools::SolarMutex::SetSolarMutex( 0 ); mpSalYieldMutex->release(); delete mpSalYieldMutex; delete mpSalWaitMutex; |