Function

GumCloakhas_thread

Declaration [src]

gboolean
gum_cloak_has_thread (
  GumThreadId id
)

Description [src]

Checks whether the given thread id is currently being cloaked.

Used internally by e.g. gum_process_enumerate_threads() to determine whether a thread should be visible.

May also be used by you to check if a thread is among your own, e.g.:

if (gum_cloak_has_thread (gum_process_get_current_thread_id ()))
  return;

Parameters

id

Type: GumThreadId

The thread ID to check.

Return value

Type: gboolean

True if cloaked; false otherwise.