PyHANDLE, int = beginthreadex(sa, stackSize
, entryPoint
, args
, flags
)
Creates a new thread
Parameters
sa : PySECURITY_ATTRIBUTES
The security attributes, or NonestackSize : int
Stack size for the new thread, or zero for the default size.entryPoint : function
The thread function.args : tuple
Args passed to the function.flags : int
Can be CREATE_SUSPENDED so thread doesn't run immediatelyReturn Value
The result is a tuple of the thread handle and thread ID.