MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / main

Function main

PythonAPI/examples/gamma_crowd.py:1377–1401  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

1375
1376
1377def main(args):
1378 spawn_destroy_process = Process(target=spawn_destroy_loop, args=(args,))
1379 spawn_destroy_process.daemon = True
1380 spawn_destroy_process.start()
1381
1382 control_process = Process(target=control_loop, args=(args,))
1383 control_process.daemon = True
1384 control_process.start()
1385
1386 gamma_process = Process(target=gamma_loop, args=(args,))
1387 gamma_process.daemon = True
1388 gamma_process.start()
1389
1390 '''
1391 collision_statistics_process = Process(target=collision_statistics_loop, args=(args,))
1392 collision_statistics_process.daemon = True
1393 collision_statistics_process.start()
1394 '''
1395
1396 Pyro4.Daemon.serveSimple(
1397 {
1398 CrowdService: "crowdservice.warehouse"
1399 },
1400 port=args.pyroport,
1401 ns=False)
1402
1403if __name__ == '__main__':
1404 argparser = argparse.ArgumentParser(

Callers 1

gamma_crowd.pyFile · 0.70

Calls 1

startMethod · 0.45

Tested by

no test coverage detected