Revision: 40758
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40758&view=rev
Author:   davidloman
Date:     2010-09-28 18:52:03 +0000 (Tue, 28 Sep 2010)

Log Message:
-----------
Forgot to init fdmax.  was causing some trippy errors.  Also, added logpoint to 
note when PortalManager enters/exits its run loop

Modified Paths:
--------------
    rt^3/trunk/src/libNet/PortalManager.cxx

Modified: rt^3/trunk/src/libNet/PortalManager.cxx
===================================================================
--- rt^3/trunk/src/libNet/PortalManager.cxx     2010-09-28 18:51:07 UTC (rev 
40757)
+++ rt^3/trunk/src/libNet/PortalManager.cxx     2010-09-28 18:52:03 UTC (rev 
40758)
@@ -35,6 +35,7 @@
        this->fdPortalMap = new QMap<int, Portal*> ();
        this->portalsLock = new QMutex();
        this->log = Logger::getInstance();
+       this->fdmax = 0;
 }
 
 PortalManager::~PortalManager() {
@@ -56,6 +57,7 @@
 }
 
 void PortalManager::_run() {
+       this->log->logINFO("PortalManager", "Running");
        struct timeval timeout;
        fd_set readfds;
        fd_set exceptionfds;
@@ -144,8 +146,7 @@
                        bool readyRead = FD_ISSET(i, &readfds) && !isListener;
                        bool readyAccept = FD_ISSET(i, &readfds) && isListener;
                        bool readyException = FD_ISSET(i, &exceptionfds);
-
-                       /*
+/*
                        QString s("FD:");
                        s.append(QString::number(i));
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to