Add windows equivalent for getpid test

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • repo-panama
    • Affects Version/s: repo-panama
    • Component/s: tools

      getpid is a posix function that is not part of the C standard, so we can not use it to test with on Windows.

      We can add a Windows equivalent of this test calling GetCurrentProcess [1], and GetProcessId [2].

      [1] : https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-getcurrentprocess
      [2] : https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-getprocessid

            Assignee:
            Jorn Vernee
            Reporter:
            Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: