diff options
author | Sverker Eriksson <[email protected]> | 2019-02-11 14:41:05 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-02-11 14:41:05 +0100 |
commit | 0699796062861bec095fda747afdcf01bc2f015e (patch) | |
tree | a333dee41b4f93a4cfe4951559a1d65ca1630e5e /erts/emulator/beam/global.h | |
parent | 657dea63080ef1cd732e1e7694c3358072354401 (diff) | |
parent | 2b8a46f154fb411c47262eb1c439a912d1fc8fd5 (diff) | |
download | otp-0699796062861bec095fda747afdcf01bc2f015e.tar.gz otp-0699796062861bec095fda747afdcf01bc2f015e.tar.bz2 otp-0699796062861bec095fda747afdcf01bc2f015e.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index 29de162b42..5d0dec7f08 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -113,6 +113,9 @@ extern Eterm erts_bld_resource_ref(Eterm** hp, ErlOffHeap*, ErtsResource*); extern void erts_pre_nif(struct enif_environment_t*, Process*, struct erl_module_nif*, Process* tracee); extern void erts_post_nif(struct enif_environment_t* env); +#ifdef DEBUG +int erts_dbg_is_resource_dying(ErtsResource*); +#endif extern void erts_resource_stop(ErtsResource*, ErlNifEvent, int is_direct_call); void erts_fire_nif_monitor(ErtsMonitor *tmon); void erts_nif_demonitored(ErtsResource* resource); |