diff options
Diffstat (limited to 'apps/JAWS2/JAWS/Concurrency.cpp')
-rw-r--r-- | apps/JAWS2/JAWS/Concurrency.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/JAWS2/JAWS/Concurrency.cpp b/apps/JAWS2/JAWS/Concurrency.cpp index a5de8ae76c2..915f67a7d65 100644 --- a/apps/JAWS2/JAWS/Concurrency.cpp +++ b/apps/JAWS2/JAWS/Concurrency.cpp @@ -31,7 +31,7 @@ JAWS_Concurrency_Base::singleton_mb (void) { if (this->mb_acquired_ == 0) { - ACE_Guard<ACE_Thread_Mutex> g(this->lock_); + ACE_Guard<ACE_SYNCH_MUTEX> g(this->lock_); if (this->mb_acquired_ == 0) { @@ -121,10 +121,10 @@ JAWS_Concurrency_Base::svc_hook (JAWS_Data_Block *ts_db) int result = 0; - JAWS_Dispatch_Policy *policy; // Contains task policies - JAWS_IO_Handler *handler; // Keeps the state of the task - JAWS_Pipeline_Handler *task; // The task itself - JAWS_Data_Block *mb; // The task message block + JAWS_Dispatch_Policy *policy = 0; // Contains task policies + JAWS_IO_Handler *handler = 0; // Keeps the state of the task + JAWS_Pipeline_Handler *task = 0; // The task itself + JAWS_Data_Block *mb = 0; // The task message block policy = ts_db->policy (); task = ts_db->task (); |