From 407f59d95bcc94bd461c3ef39604612d0d73356c Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 26 Mar 2006 13:36:14 +0000 Subject: All software threading stuff *disabled* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3757 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 71ae7de52..721eff540 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1264,7 +1264,7 @@ class TreeSocket : public InspSocket this->WriteLine(data); if ((iterations % 10) == 0) { - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); } } for (std::vector::iterator i = qlines.begin(); i != qlines.end(); i++, iterations++) @@ -1273,7 +1273,7 @@ class TreeSocket : public InspSocket this->WriteLine(data); if ((iterations % 10) == 0) { - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); } } for (std::vector::iterator i = glines.begin(); i != glines.end(); i++, iterations++) @@ -1282,7 +1282,7 @@ class TreeSocket : public InspSocket this->WriteLine(data); if ((iterations % 10) == 0) { - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); } } for (std::vector::iterator i = elines.begin(); i != elines.end(); i++, iterations++) @@ -1291,7 +1291,7 @@ class TreeSocket : public InspSocket this->WriteLine(data); if ((iterations % 10) == 0) { - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); } } for (std::vector::iterator i = pzlines.begin(); i != pzlines.end(); i++, iterations++) @@ -1300,7 +1300,7 @@ class TreeSocket : public InspSocket this->WriteLine(data); if ((iterations % 10) == 0) { - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); } } for (std::vector::iterator i = pqlines.begin(); i != pqlines.end(); i++, iterations++) @@ -1309,7 +1309,7 @@ class TreeSocket : public InspSocket this->WriteLine(data); if ((iterations % 10) == 0) { - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); } } for (std::vector::iterator i = pglines.begin(); i != pglines.end(); i++, iterations++) @@ -1318,7 +1318,7 @@ class TreeSocket : public InspSocket this->WriteLine(data); if ((iterations % 10) == 0) { - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); } } for (std::vector::iterator i = pelines.begin(); i != pelines.end(); i++, iterations++) @@ -1327,7 +1327,7 @@ class TreeSocket : public InspSocket this->WriteLine(data); if ((iterations % 10) == 0) { - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); } } } @@ -1413,26 +1413,25 @@ class TreeSocket : public InspSocket std::string name = s->GetName(); Srv->SendOpers("*** Bursting to \2"+name+"\2."); this->WriteLine(burst); - ServerInstance->DoOneIteration(false); /* send our version string */ this->WriteLine(":"+Srv->GetServerName()+" VERSION :"+Srv->GetVersion()); /* Send server tree */ if (FindServer(name)) this->SendServers(TreeRoot,s,1); - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); /* Send users and their oper status */ if (FindServer(name)) this->SendUsers(s); - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); /* Send everything else (channel modes, xlines etc) */ if (FindServer(name)) this->SendChannelModes(s); - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); if (FindServer(name)) this->SendXLines(s); - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); FOREACH_MOD(I_OnSyncOtherMetaData,OnSyncOtherMetaData((Module*)TreeProtocolModule,(void*)this)); - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); this->WriteLine(endburst); Srv->SendOpers("*** Finished bursting to \2"+name+"\2."); } @@ -1461,7 +1460,7 @@ class TreeSocket : public InspSocket iterations++; if ((iterations % 10) == 0) { - ServerInstance->DoOneIteration(false); + //ServerInstance->DoOneIteration(false); } std::string ret = in_buffer.substr(0,in_buffer.find("\n")-1); in_buffer = in_buffer.substr(in_buffer.find("\n")+1,in_buffer.length()-in_buffer.find("\n")); -- cgit v1.2.3