<p>A <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> of a thread in a running (or crashed) process on a macOS system.
<areahref="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot..."alt="crashpad::ThreadSnapshot"shape="rect"coords="0,0,355,24"/>
<trclass="memdesc:a7bb7d71110ccad4d4b74ce9c69a7fef3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the object. <ahref="#a7bb7d71110ccad4d4b74ce9c69a7fef3">More...</a><br/></td></tr>
<trclass="memdesc:a063a6cf88d16769775ddf98c7d8abf6a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a <aclass="el"href="structcrashpad_1_1CPUContext.html"title="A context structure capable of carrying the context of any supported CPU architecture. ">CPUContext</a> object corresponding to the thread’s CPU context. <ahref="#a063a6cf88d16769775ddf98c7d8abf6a">More...</a><br/></td></tr>
<trclass="memdesc:a5b63ca812f667219928f2f0dd3f9d846"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> object corresponding to the memory region that contains the thread’s stack, or <code>nullptr</code> if no stack region is available. <ahref="#a5b63ca812f667219928f2f0dd3f9d846">More...</a><br/></td></tr>
<trclass="memdesc:a081cae888e8e625929cfdda333eb9966"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the thread’s identifier. <ahref="#a081cae888e8e625929cfdda333eb9966">More...</a><br/></td></tr>
<trclass="memdesc:a8c417edf90e36f67a6f8e0b76bfbdee5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the thread’s priority. <ahref="#a8c417edf90e36f67a6f8e0b76bfbdee5">More...</a><br/></td></tr>
<trclass="memdesc:a546b936d58eb2ba4dec71914e41dd742"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the base address of a region used to store thread-specific data. <br/></td></tr>
<trclass="memdesc:aa0af4437ee557f500f61b88c8a9a4b22"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a vector of additional memory blocks that should be included in a minidump. <ahref="#aa0af4437ee557f500f61b88c8a9a4b22">More...</a><br/></td></tr>
<divclass="textblock"><p>A <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> of a thread in a running (or crashed) process on a macOS system. </p>
<p>Returns a <aclass="el"href="structcrashpad_1_1CPUContext.html"title="A context structure capable of carrying the context of any supported CPU architecture. ">CPUContext</a> object corresponding to the thread’s CPU context. </p>
<p>The caller does not take ownership of this object, it is scoped to the lifetime of the <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that it was obtained from. </p>
<p>Returns a vector of additional memory blocks that should be included in a minidump. </p>
<dlclass="section return"><dt>Returns</dt><dd>A vector of <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> objects that will be included in the crash dump. The caller does not take ownership of these objects, they are scoped to the lifetime of the <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that they were obtained from. </dd></dl>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">process_reader</td><td>A <aclass="el"href="classcrashpad_1_1ProcessReader.html"title="Accesses information about another process, identified by a Mach task. ">ProcessReader</a> for the task containing the thread. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">process_reader_thread</td><td>The thread within the <aclass="el"href="classcrashpad_1_1ProcessReader.html"title="Accesses information about another process, identified by a Mach task. ">ProcessReader</a> for which the snapshot should be created.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the snapshot could be created, <code>false</code> otherwise with an appropriate message logged. </dd></dl>
<p>Returns a <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> object corresponding to the memory region that contains the thread’s stack, or <code>nullptr</code> if no stack region is available. </p>
<p>The caller does not take ownership of this object, it is scoped to the lifetime of the <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that it was obtained from. </p>