blob: 1f6e6392f79e47da0c531f20808c37c7b4cfdc9c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#pragma once
#include <stdint.h>
/* Stop the world; return token to be used for applying PC patches and resuming. */
int stop_other_threads(void **token_ptr);
int apply_pc_patch_callback(void *token,
uintptr_t (*pc_patch_callback)(void *ctx, uintptr_t pc),
void *ctx);
int resume_other_threads(void *token);
|