[lldb-dev] Process spawning and shutdown

Zachary Turner zturner at google.com
Mon Sep 22 09:33:33 PDT 2014


Yes, but closing the handle is semantically a different operation than
reaping a process.  You can close a handle to a process while the process
is still running and it doesn't affect anything except that it frees up
space in your process's handle table.  You can also not close a handle, and
if the process exits nothing bad will come of it.  So closing the handle is
more tied to the lifetime of the instantiated HostProcess , and independent
of the actual process running on ths system.

On Sun, Sep 21, 2014 at 11:40 PM, Matthew Gardiner <mg11 at csr.com> wrote:

> On Wed, 2014-09-17 at 00:27 -0700, Zachary Turner wrote:
>
> > I know Join isn't really the right word, but there's no concept of
> > reaping a process on Windows.
>
> However, on Windows, isn't there still a requirement to CloseHandle that
> handles returned by CreateProcess?
>
> Matt
>
>
>
>
>
> Member of the CSR plc group of companies. CSR plc registered in England
> and Wales, registered number 4187346, registered office Churchill House,
> Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
> More information can be found at www.csr.com. Keep up to date with CSR on
> our technical blog, www.csr.com/blog, CSR people blog, www.csr.com/people,
> YouTube, www.youtube.com/user/CSRplc, Facebook,
> www.facebook.com/pages/CSR/191038434253534, or follow us on Twitter at
> www.twitter.com/CSR_plc.
> New for 2014, you can now access the wide range of products powered by
> aptX at www.aptx.com.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140922/b4543880/attachment.html>


More information about the lldb-dev mailing list