-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
46 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.. _`sec-dev:BPatch_thread.h`: | ||
|
||
BPatch_thread.h | ||
############### | ||
|
||
.. cpp:namespace:: dev | ||
|
||
.. cpp:class:: BPatch_thread | ||
**A thread of execution running in a process** | ||
|
||
.. cpp:member:: private bool madeExitCallback_ | ||
|
||
Sometimes we get per-thread exit notifications, sometimes we just get whole-process. So keep track of whether we've notified the user of an exit so we don't duplicate when the process exits. | ||
|
||
.. cpp:function:: protected BPatch_thread(BPatch_process *parent, PCThread *thr) | ||
.. cpp:function:: protected static BPatch_thread *createNewThread(BPatch_process *proc, PCThread *thr) | ||
|
||
.. cpp:function:: protected void updateThread(PCThread *newThr) | ||
|
||
Currently only used on an exec to replace the underlying PCThread | ||
|
||
.. cpp:function:: protected bool madeExitCallback() | ||
.. cpp:function:: protected void setMadeExitCallback() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters