Skip to content

Conversation

@guoxx
Copy link

@guoxx guoxx commented Dec 8, 2025

  • Fix shadowing of 'retval' variable in core_count() to ensure correct error handling.
  • Replace pthread_getaffinity_np with sched_getaffinity for better Linux compatibility.

- Fix shadowing of 'retval' variable in core_count() to ensure correct error handling.
- Replace pthread_getaffinity_np with sched_getaffinity for better Linux compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant