[PATCH] Add non-blocking Wait() for launched processes

Tareq A. Siraj tareq.a.siraj at intel.com
Thu Sep 19 14:01:08 PDT 2013


tareqsiraj added you to the CC list for the revision "Add non-blocking Wait() for launched processes".

Hi revane, chandlerc, Bigcheese,

- New ProcessInfo class to encapsulate information about child
  processes.
- Generalized the Wait() to support non-blocking wait on child
  processes.
- ExecuteNoWait() now return a ProcessInfo object with information
  about the launched child. Users will be able to use this object
  to perform non-blocking wait.
- ExecuteNoWait() now accepts an ExecutionFailed param that tells
  if execution failed or not.

These changes will allow users to implement basic process parallel
tools.

http://llvm-reviews.chandlerc.com/D1728

Files:
  include/llvm/Support/Program.h
  lib/Support/Program.cpp
  lib/Support/Unix/Program.inc
  lib/Support/Windows/Program.inc
  unittests/Support/ProgramTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1728.1.patch
Type: text/x-patch
Size: 21491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130919/2c04e194/attachment.bin>


More information about the llvm-commits mailing list