def run(self, options):
self.set_signal()<EOL>self.check_exclusive_mode()<EOL>slot = self.Handle(self)<EOL>i = <NUM_LIT:0><EOL>while i < options.threads:<EOL><INDENT>t = threading.Thread(target=self.worker, args=[slot])<EOL>if options.once is True or options.no_daemon is True:<EOL><INDENT>t.daemon = False<EOL><DEDENT>else:<EOL><INDENT>t.daemon = True<EOL><DEDENT>t.start()<EOL>i += <NUM_LIT:1><EOL><DEDENT>if options.once is False:<EOL><INDENT>while True:<EOL><INDENT>if threading.active_count() > <NUM_LIT:1>:<EOL><INDENT>sleep(<NUM_LIT:1>)<EOL><DEDENT>else:<EOL><INDENT>if threading.current_thread().name == "<STR_LIT>":<EOL><INDENT>sys.exit(<NUM_LIT:0>)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>pass<EOL>
In general, you don't need to overwrite this method.

:param options:
:return: