Method

GumInterceptorwith_lock_held

Declaration [src]

void
gum_interceptor_with_lock_held (
  GumInterceptor* self,
  GumInterceptorLockedFunc func,
  gpointer user_data
)

Description [src]

Calls func while holding the interceptor lock.

Parameters

func

Type: GumInterceptorLockedFunc

Function to call while holding the lock.

user_data

Type: gpointer

Data to pass to func.

The argument can be NULL.
The data is owned by the caller of the method.