(self, process=False, link=None)
Start a new thread or process that invokes this manager's
        ``run()`` method. The invocation of this method returns
        immediately after the task or process has been started.
Start a new thread or process that invokes this manager's
        ``run()`` method. The invocation of this method returns
        immediately after the task or process has been started.
Start a new thread or process that invokes this manager s run () method . The invocation of this method returns immediately after the task or process has been started .
def start(self, process=False, link=None):
        """
        Start a new thread or process that invokes this manager's
        ``run()`` method. The invocation of this method returns
        immediately after the task or process has been started.
        """

        if process:
            # Parent<->Child Bridge
            if link is not None:
                from circuits.net.sockets import Pipe
                from circuits.core.bridge import Bridge

                channels = (uuid(),) * 2
                parent, child = Pipe(*channels)
                bridge = Bridge(parent, channel=channels[0]).register(link)

                args = (child,)
            else:
                args = ()
                bridge = None

            self.__process = Process(
                target=self.run, args=args, name=self.name
            )
            self.__process.daemon = True
            self.__process.start()

            return self.__process, bridge
        else:
            self.__thread = Thread(target=self.run, name=self.name)
            self.__thread.daemon = True
            self.__thread.start()

            return self.__thread, None
def start ( self , process = False , link = None ) : if process : # Parent<->Child Bridge if link is not None : from circuits . net . sockets import Pipe from circuits . core . bridge import Bridge channels = ( uuid ( ) , ) * 2 parent , child = Pipe ( * channels ) bridge = Bridge ( parent , channel = channels [ 0 ] ) . register ( link ) args = ( child , ) else : args = ( ) bridge = None self . __process = Process ( target = self . run , args = args , name = self . name ) self . __process . daemon = True self . __process . start ( ) return self . __process , bridge else : self . __thread = Thread ( target = self . run , name = self . name ) self . __thread . daemon = True self . __thread . start ( ) return self . __thread , None