this_actor.info("Let's create a lazy guy.") # Create a lazy_guy process
lazy = Actor.create("Lazy", this_actor.get_host(), lazy_guy)
this_actor.info("Let's wait a little bit...")
this_actor.info("Let's create a lazy guy.") # Create a lazy_guy process
lazy = Actor.create("Lazy", this_actor.get_host(), lazy_guy)
this_actor.info("Let's wait a little bit...")
- e.load_platform(sys.argv[1]) # Load the platform description
- list = e.get_all_hosts()
- Actor.create("dream_master", list[0], dream_master)
+ e.load_platform(sys.argv[1]) # Load the platform description
+ hosts = e.get_all_hosts()
+ Actor.create("dream_master", hosts[0], dream_master)