pysynth/output/base.py
def _submit_module(self, mod):

        """
        We do the dirty work of starting and submitting a module to the ThreadPoolExecutor.

        We assume the module inherits BaseOutput,
        and that it has been added to the module collection.

        If you wish to add a module, you should really use 'add_output'.

        :param mod: Output module to start
        :type mod: BaseOutput
        """

        # Set the run value:

        mod.running = True

        # Start the module:

        mod.start()

        # Add it to the collection:

        #self._work.submit(mod.run)

        thread = threading.Thread(target=mod.run)
        thread.daemon = True
        thread.start()
        self.thread.append(thread)

        We do the dirty work of starting and submitting a module to the ThreadPoolExecutor.

        We assume the module inherits BaseOutput,
        and that it has been added to the module collection.

        If you wish to add a module, you should really use 'add_output'.

        :param mod: Output module to start
        :type mod: BaseOutput
        
We do the dirty work of starting and submitting a module to the ThreadPoolExecutor.
We assume the module inherits BaseOutput,
and that it has been added to the module collection.

If you wish to add a module, you should really use 'add_output'.
We do the dirty work of starting and submitting a module to the ThreadPoolExecutor . We assume the module inherits BaseOutput and that it has been added to the module collection . If you wish to add a module you should really use ' add_output ' .
def _submit_module(self, mod):
        mod.running = True
        mod.start()
        thread = threading.Thread(target=mod.run)
        thread.daemon = True
        thread.start()
        self.thread.append(thread)
def _submit_module ( self , mod ) : mod . running = True mod . start ( ) thread = threading . Thread ( target = mod . run ) thread . daemon = True thread . start ( ) self . thread . append ( thread )
We do the dirty work of starting and submitting a module to the ThreadPoolExecutor.
We do the dirty work of starting and submitting a module to the ThreadPoolExecutor .
"""
        We do the dirty work of starting and submitting a module to the ThreadPoolExecutor.

        We assume the module inherits BaseOutput,
        and that it has been added to the module collection.

        If you wish to add a module, you should really use 'add_output'.

        :param mod: Output module to start
        :type mod: BaseOutput
        """ # Set the run value: # Start the module: # Add it to the collection: #self._work.submit(mod.run)
self
mod
Output module to start
Output module to start