Skip to content

Commit

Permalink
Update proccontrol/h/PCProcess.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent 3967bbd commit 4437aae
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
7 changes: 7 additions & 0 deletions docs/proccontrol/developer/PCProcess.h.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,10 @@ PCProcess.h
.. cpp:member:: void* processHandle
.. cpp:member:: Dyninst::Address fileBase


.. cpp:class:: IRPC

.. cpp:member:: private rpc_wrapper *wrapper
.. cpp:function:: private IRPC(rpc_wrapper *wrapper_)
.. cpp:function:: private ~IRPC()

20 changes: 20 additions & 0 deletions docs/proccontrol/public/PCProcess.h.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,26 @@ PCProcess.h

Returns the start offset, if specified. Otherwise, returns 0.

.. cpp:function:: bool isBlocking() const
.. cpp:function:: void *getData() const
.. cpp:function:: void setData(void *p) const
.. cpp:function:: State state() const
.. cpp:function:: bool continueStoppedIRPC()

Continues the thread this RPC is running on.

Useful if you don't know the thread assigned to an IRPC.


.. cpp:enum:: IRCP::State

.. cpp:enumerator:: Error
.. cpp:enumerator:: Created
.. cpp:enumerator:: Posted
.. cpp:enumerator:: Running
.. cpp:enumerator:: Done


.. cpp:class:: Library

A ``Library`` represents a single shared library (frequently referred to as
Expand Down
3 changes: 0 additions & 3 deletions proccontrol/h/PCProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,14 +269,11 @@ class PC_EXPORT IRPC
unsigned long getStartOffset() const;
bool isBlocking() const;

// user-defined data retrievable during a callback
void *getData() const;
void setData(void *p) const;

State state() const;

// Continues the thread this RPC is running on.
// Useful if you don't know the thread assigned to an IRPC
bool continueStoppedIRPC();
};

Expand Down

0 comments on commit 4437aae

Please sign in to comment.