in reply to Re^16: how to change process & thread priority on Win32 ?
in thread how to change process & thread priority on Win32 ?

seems to me that details of threads of process x can indeed be changed from within process y

Indeed, you are correct. Sorry for the misinformation. My confusion stemmed from the difference between threads TIDs and Win32 native TIDs. The former are unique within the system at any given time, whilst the latter are unrelated, process unique numbers created by the Perl.

It would certainly make things simpler if there was a threads module call that would return the native TID directly. I'll look into how easily that could be provided and maybe offer a patch.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^17: how to change process & thread priority on Win32 ?