Python/Threading

From Omnia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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]