Revision: 9038
http://playerstage.svn.sourceforge.net/playerstage/?rev=9038&view=rev
Author: jpgr87
Date: 2011-02-16 17:52:44 +0000 (Wed, 16 Feb 2011)
Log Message:
-----------
Applied patch #3175505: Player starts alwayson drivers before listening to TCP
ports
Modified Paths:
--------------
code/player/trunk/server/server.cc
Modified: code/player/trunk/server/server.cc
===================================================================
--- code/player/trunk/server/server.cc 2011-02-16 17:40:39 UTC (rev 9037)
+++ code/player/trunk/server/server.cc 2011-02-16 17:52:44 UTC (rev 9038)
@@ -225,13 +225,6 @@
PLAYER_ERROR("No devices read in configuration file. Is it
correct?\nExiting...");
exit(-1);
}
-
- if(deviceTable->StartAlwaysonDrivers() != 0)
- {
- PLAYER_ERROR("failed to start alwayson drivers");
- Cleanup();
- exit(-1);
- }
// Collect the list of ports on which we should listen
ports = (int*)calloc(deviceTable->Size(),sizeof(int));
@@ -326,6 +319,13 @@
free(ports);
free(new_ports);
+ if(deviceTable->StartAlwaysonDrivers() != 0)
+ {
+ PLAYER_ERROR("failed to start alwayson drivers");
+ Cleanup();
+ exit(-1);
+ }
+
while(!player_quit)
{
// wait until something other than driver requested watches happens
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit