psutil icon indicating copy to clipboard operation
psutil copied to clipboard

[mac os] thread id is not the native_id

Open sanchay-hai opened this issue 9 months ago • 0 comments

Summary

  • OS: { Mac OS 14.4.1 }
  • Architecture: { ARM }
  • Psutil version: { 6.0.0 }
  • Python version: { 3.11.4 }
  • Type: { core }

Description

threads() function returns all the threads with id parameter. Documentation states that this is the native_id from threading, but on MAC OS that doesn't seem to be the case.

Confirmed that on Linux they match up.

sanchay-hai avatar May 21 '24 23:05 sanchay-hai