Skip to content

Commit

Permalink
#3930 expose native thread id
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 28, 2023
1 parent 9fb7d99 commit 8bd30c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xpra/os_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def is_main_thread() -> bool:

def get_frame_info(ignore_threads:tuple[Thread,...]=()) -> dict[Any,Any]:
info : dict[Any,Any] = {
"count" : threading.active_count() - len(ignore_threads),
"count" : threading.active_count() - len(ignore_threads),
"native-id" : threading.get_native_id(),
}
try:
import traceback
Expand Down

0 comments on commit 8bd30c8

Please sign in to comment.