Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ApplicationCore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChimeraTK Mirror
ApplicationCore
Commits
959c3b0c
Commit
959c3b0c
authored
4 years ago
by
Martin Christoph Hierholzer
Browse files
Options
Downloads
Patches
Plain Diff
remove commented, unused code
parent
7ddfd5e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/DeviceModule.cc
+0
-22
0 additions, 22 deletions
src/DeviceModule.cc
with
0 additions
and
22 deletions
src/DeviceModule.cc
+
0
−
22
View file @
959c3b0c
...
...
@@ -258,28 +258,6 @@ namespace ChimeraTK {
/*********************************************************************************************************************/
// void DeviceModule::waitForRecovery() {
// // we need the error lock before we are allowed to access the predicate
// std::unique_lock<std::mutex> errorLock(errorMutex);
// if(!deviceHasError) return;
// //Wait until the error condition has been cleared by the exception handling thread.
// //We must not hold the testable mode mutex while doing so, otherwise the other thread will never run to fulfill the condition
// ++owner
// ->testableMode_deviceInitialisationCounter; // don't drop out of testable mode while trying to recover (unless explicitly requested)
// owner->testableModeUnlock("waitForDeviceOK");
// while(deviceHasError) {
// errorIsResolvedCondVar.wait(errorLock);
// boost::this_thread::interruption_point();
// }
// errorLock.unlock(); // release the error lock. We must not hold it when trying to get the testable mode lock.
// owner->testableModeLock("continueAfterException");
// --owner
// ->testableMode_deviceInitialisationCounter; // allow to leave the testable mode. We have detected successful recovery.
// }
/*********************************************************************************************************************/
void
DeviceModule
::
handleException
()
{
Application
::
registerThread
(
"DM_"
+
getName
());
std
::
string
error
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment