Changeset 12771 for source/ariba/utility/system/SystemQueue.cpp
- Timestamp:
- Mar 19, 2014, 6:41:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/system/SystemQueue.cpp
r12767 r12771 117 117 { 118 118 // CHECK: this function must not be called from within a SystemQueue-Event 119 if ( sysq_thread && boost::this_thread::get_id() == sysq_thread->get_id() ) 119 if ( am_I_in_the_SysQ_thread() ) 120 // if ( sysq_thread && boost::this_thread::get_id() == sysq_thread->get_id() ) 120 121 { 121 122 logging_warn("SystemQueue::cancel() was called from within a SystemQueue-Event. This is not allowed!"); … … 179 180 { 180 181 return SysQ->isRunning(); 182 } 183 184 bool SystemQueue::am_I_in_the_SysQ_thread() 185 { 186 return sysq_thread && boost::this_thread::get_id() == sysq_thread->get_id(); 181 187 } 182 188
Note:
See TracChangeset
for help on using the changeset viewer.