def SetThreadName(thread, name):
 thread.setName(('[%s: %s]' % (GlobalProcess().Type(), name)))

def SetThreadName ( thread , name ) : thread . setName ( ( '[%s: %s]' % ( GlobalProcess ( ) . Type ( ) , name ) ) )
sets the name a of thread .