question about _beginthreadex and handles
I'm using the _beginthreadex interface to create some threads. According to the MSDN docs _beginthreadex returns a uintptr_t, but the docs also talk about being able to directly use the handle returned by _beginthreadex in interface calls that expect HANDLE and that the user needs to perform a CloseHandle on the returned handle....
what handle are they talking about? is the uintptr_t returned by _beginthreadex somehow convertible or dereferenceable to a handle? where is the open handle that this function is somehow supposed to return?
can anyone explain?
The views expressed are those of the author and do not reflect any position taken by the Goverment of the United States of America, National Aeronautics and Space Administration (NASA), Jet Propulsion Laboratory (JPL), or California Institute of Technology (CalTech)