aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2019-02-06 20:17:39 +0100
committerSverker Eriksson <[email protected]>2019-02-06 20:26:22 +0100
commit3f5c2b86b7dcd1d8b5a2eacad92b659ac9709a53 (patch)
treee4c90968ad38ad1a8c0f117f0c6af579e306e778 /erts/emulator/beam/global.h
parent3825199794da28d79b21052a2e69e2335921d55e (diff)
downloadotp-3f5c2b86b7dcd1d8b5a2eacad92b659ac9709a53.tar.gz
otp-3f5c2b86b7dcd1d8b5a2eacad92b659ac9709a53.tar.bz2
otp-3f5c2b86b7dcd1d8b5a2eacad92b659ac9709a53.zip
erts: Fix faulty debug assert in enif_select
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 0631404599..e04ac256df 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);