Python/Threading

From Omnia
Jump to navigation Jump to search

Python 3

import _thread

def mythread(param1, param2):
  pass

_thread.start_new_thread( mythread, ("Param1", "Param2", ) )
_thread.start_new_thread( mythread, ("Param1", "Param2", ) )

ref: [1]