Skip to content

Commit

Permalink
Refs #4554 left some debugging statements in
Browse files Browse the repository at this point in the history
  • Loading branch information
Janik Zikovsky committed Jan 24, 2012
1 parent c33361f commit c515acc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Code/Mantid/Framework/API/src/Algorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ namespace Mantid
if (std::find(m_writeLockedWorkspaces.begin(), m_writeLockedWorkspaces.end(), ws)
== m_writeLockedWorkspaces.end())
{
std::cout << "Write-locking " << ws->name() << std::endl;
//std::cout << "Write-locking " << ws->name() << std::endl;
// Write-lock it if not already
ws->getLock()->writeLock();
m_writeLockedWorkspaces.push_back(ws);
Expand All @@ -303,7 +303,7 @@ namespace Mantid
if (std::find(m_writeLockedWorkspaces.begin(), m_writeLockedWorkspaces.end(), ws)
== m_writeLockedWorkspaces.end())
{
std::cout << "Read-locking " << ws->name() << std::endl;
//std::cout << "Read-locking " << ws->name() << std::endl;
// Read-lock it if not already write-locked
ws->getLock()->readLock();
m_readLockedWorkspaces.push_back(ws);
Expand All @@ -327,7 +327,7 @@ namespace Mantid
Workspace_sptr ws = m_writeLockedWorkspaces[i];
if (ws)
{
std::cout << "Un-write-locking " << ws->name() << std::endl;
//std::cout << "Un-write-locking " << ws->name() << std::endl;
ws->getLock()->unlock();
}
}
Expand All @@ -336,7 +336,7 @@ namespace Mantid
Workspace_sptr ws = m_readLockedWorkspaces[i];
if (ws)
{
std::cout << "Un-read-locking " << ws->name() << std::endl;
//std::cout << "Un-read-locking " << ws->name() << std::endl;
ws->getLock()->unlock();
}
}
Expand Down

0 comments on commit c515acc

Please sign in to comment.