Re: [python-win32] Getting new thread's ID (not handle)

2005-08-02 Thread Justin Johnson
L PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Justin Johnson Sent: Tuesday, 2 August 2005 5:35 AMTo: python-win32@python.orgSubject: [python-win32] Getting new thread's ID (not handle) MSDN says PostThreadMessage takes the thread ID as a parameter.  >From reading the doc I see tha

Re: [python-win32] Getting new thread's ID (not handle)

2005-08-01 Thread Mark Hammond
2005 5:35 AMTo: python-win32@python.orgSubject: [python-win32] Getting new thread's ID (not handle) MSDN says PostThreadMessage takes the thread ID as a parameter.  >From reading the doc I see that handle and ID are different and that both should be returned when creating a ne

Re: [python-win32] Getting new thread's ID (not handle)

2005-08-01 Thread Justin Johnson
I see GetCurrentThreadId there, but not GetThreadId. On 8/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: It is in the win32api module.-- jvIt looks like GetThreadId is what I need, but I can't find that in any of the win32* modules.  I do see CreateThread in CVS in Pythonwin/win32thread.cpp, b

Re: [python-win32] Getting new thread's ID (not handle)

2005-08-01 Thread Jim . Vickroy
It is in the win32api module. -- jv It looks like GetThreadId is what I need, but I can't find that in any of the win32* modules.  I do see CreateThread in CVS in Pythonwin/win32thread.cpp, but I don't have a win32thread in my installation. On 8/1/05, Justin Johnson <[EMAIL PROTECTED]> wrote: MSD

Re: [python-win32] Getting new thread's ID (not handle)

2005-08-01 Thread Justin Johnson
It looks like GetThreadId is what I need, but I can't find that in any of the win32* modules.  I do see CreateThread in CVS in Pythonwin/win32thread.cpp, but I don't have a win32thread in my installation. On 8/1/05, Justin Johnson <[EMAIL PROTECTED]> wrote: MSDN says PostThreadMessage takes the th

[python-win32] Getting new thread's ID (not handle)

2005-08-01 Thread Justin Johnson
MSDN says PostThreadMessage takes the thread ID as a parameter.  >From reading the doc I see that handle and ID are different and that both should be returned when creating a new thread with CreateThread.  I am creating a new thread with the threading module and do not see a way to get the ID back.