Changes to support new world order

This commit is contained in:
Mark Mine 2004-05-25 00:18:35 +00:00
parent 16d8392b07
commit 616b99ee4c
3 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,6 @@ class ClusterClient(DirectObject.DirectObject):
if clusterDaemonClient == 'None':
clusterDaemonClient = os.popen('uname -n').read()
clusterDaemonClient = clusterDaemonClient.replace('\n', '')
print 'CLIENT', clusterDaemonClient
# What daemon port are we using to communicate between client/servers
clusterDaemonPort = base.config.GetInt(
'cluster-daemon-port', CLUSTER_DAEMON_PORT)

View File

@ -36,7 +36,7 @@ SERVER_STARTUP_STRING = (
'__builtin__.clusterSyncFlag = %d;' +
'__builtin__.clusterDaemonClient = \'%s\';' +
'__builtin__.clusterDaemonPort = %d;'
'from ShowBaseGlobal import *; run()"')
'from DirectStart import *; run()"')
class ClusterMsgHandler:
"""ClusterMsgHandler: wrapper for PC clusters/multi-piping networking"""

View File

@ -148,6 +148,7 @@ class ClusterServer(DirectObject.DirectObject):
if (type == CLUSTER_NONE):
pass
elif (type == CLUSTER_EXIT):
print 'GOT EXIT'
import sys
sys.exit()
elif (type == CLUSTER_CAM_OFFSET):