This project is mirrored from https://github.com/haskell/process. Pull mirroring updated .
  1. 21 Feb, 2017 2 commits
  2. 20 Feb, 2017 1 commit
  3. 17 Feb, 2017 1 commit
  4. 06 Feb, 2017 3 commits
  5. 04 Feb, 2017 2 commits
  6. 03 Feb, 2017 5 commits
    • coopercm's avatar
      Compile for windows · b2360d9f
      coopercm authored
      b2360d9f
    • coopercm's avatar
      Fix waitpid race by adding a lock · d837c95d
      coopercm authored
      d837c95d
    • coopercm's avatar
      Test multithreaded bug · 962d5f14
      coopercm authored
      962d5f14
    • coopercm's avatar
      Revert "Fix bug in multi-threaded waitForProcess" · 4575acb4
      coopercm authored
      This reverts commit d67484fe64a9a42e7daf944a9396b4ec46c060f3.
      4575acb4
    • coopercm's avatar
      Fix bug in multi-threaded waitForProcess · 5b99d451
      coopercm authored
      Previously an exception was being thrown when multiple threads were
      blocking on waitForProcess due to inconsistent handling of the return
      code of `waitpid`:
      
      "If more than one thread is suspended in waitpid() awaiting termination
      of the same process, exactly one thread returns the process status at
      the time of the target child process termination. The other threads
      return -1, with errno set to ECHILD."
      
      `getProcessExitCode` was handling the ECHILD case by returning 1, but
      `waitForProcess` was returning (-1) in all cases. For consistency this
      commit follows the approach in getProcessExitCode, returning 1 to the
      caller of c_waitForProcess if errno is ECHILD, thus avoiding throwing
      an exception in the calling code.
      5b99d451
  7. 30 Jan, 2017 3 commits
  8. 29 Jan, 2017 23 commits