Commit a79cd35b authored by German Leon's avatar German Leon
Browse files

Detallito, un identacion

parent bdaa88eb
...@@ -647,7 +647,7 @@ def main(): ...@@ -647,7 +647,7 @@ def main():
global kill_strings, current_path, gpus_threads, lock, syncro, wait_finish global kill_strings, current_path, gpus_threads, lock, syncro, wait_finish
signal.signal(signal.SIGUSR1,receiveSignal); signal.signal(signal.SIGUSR1,receiveSignal);
signal.signal(signal.SIGRTMIN,receiveEnd); signal.signal(signal.SIGUSR2,receiveEnd);
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument('-c', '--conf', dest="config_file", help='Configuration file', required=True) parser.add_argument('-c', '--conf', dest="config_file", help='Configuration file', required=True)
parser.add_argument('-i', '--iter', dest="iterations", parser.add_argument('-i', '--iter', dest="iterations",
......
...@@ -12,7 +12,7 @@ Handler attached to exit event ...@@ -12,7 +12,7 @@ Handler attached to exit event
def exit_handler(event): def exit_handler(event):
global global_logging global global_logging
os.system ("kill -s SIGRTMIN " + str(pid)) os.system ("kill -s USR2 " + str(pid))
global_logging.info(str("event type: exit")) global_logging.info(str("event type: exit"))
print ("llego el final") print ("llego el final")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment