diff options
author | jhb <jhb@FreeBSD.org> | 2013-06-11 20:00:49 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-06-11 20:00:49 +0000 |
commit | a2ac4ba7024e6bb66be0b19455de2e2f5b17962e (patch) | |
tree | bba8b36eba6623773eb0ece22c632cda897a846c /contrib/llvm/lib/CodeGen/PseudoSourceValue.cpp | |
parent | 46c768b6a7fd9d51fc2b9385b56f30e852d00811 (diff) | |
download | FreeBSD-src-a2ac4ba7024e6bb66be0b19455de2e2f5b17962e.zip FreeBSD-src-a2ac4ba7024e6bb66be0b19455de2e2f5b17962e.tar.gz |
Borrow the algorithm from kvm_getprocs() to fix procstat_getprocs() to
handle the case where the process tables grows in between the calls to
fetch the size and fetch the table.
MFC after: 1 week
Diffstat (limited to 'contrib/llvm/lib/CodeGen/PseudoSourceValue.cpp')
0 files changed, 0 insertions, 0 deletions