Method
GumStalkerrun_on_thread
Declaration [src]
gboolean
gum_stalker_run_on_thread (
GumStalker* self,
GumThreadId thread_id,
GumStalkerRunOnThreadFunc func,
gpointer data,
GDestroyNotify data_destroy
)
Description [src]
Arranges for func to run on the thread identified by thread_id, with that
thread’s register state, by briefly hijacking it through Stalker. Returns once func has been scheduled; it may not have run yet. Use
gum_stalker_run_on_thread_sync() to wait for completion.
Parameters
thread_id-
Type:
GumThreadIdID of the thread to run
funcon. func-
Type:
GumStalkerRunOnThreadFuncFunction to run on the target thread.
data-
Type:
gpointerData to pass to
func.The argument can be NULL.The data is owned by the caller of the method. data_destroy-
Type:
GDestroyNotifyDestroy notify for
data.The argument can be NULL.