Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-116195: Implement win32_getppid_fast #116207

Closed
wants to merge 4 commits into from
Closed

Commits on Mar 1, 2024

  1. Re-implement win32_getppid efficiently.

    Use the NtQueryInformationProcess system call to efficiently retrieve the parent process ID in a single step, rather than using the process snapshots API which retrieves large amounts of unnecessary information and is more prone to failure (since it makes heap allocations).
    vxiiduu committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    49474e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bb90fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    002524a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6159002 View commit details
    Browse the repository at this point in the history