def BeginThreadsSimpleMarshal(numThreads, cookie):
 ret = []
 for i in range(numThreads):
  hEvent = win32event.CreateEvent(None, 0, 0, None)
  thread.start_new(TestInterpInThread, (hEvent, cookie))
  ret.append(hEvent)
 return ret

def BeginThreadsSimpleMarshal ( numThreads , cookie ) : ret = [ ] for i in range ( numThreads ) : hEvent = win32event . CreateEvent ( None , 0 , 0 , None ) thread . start_new ( TestInterpInThread , ( hEvent , cookie ) ) ret . append ( hEvent ) return ret
creates multiple threads using simple marshalling .