aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/nif_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/nif_helpers.h')
-rw-r--r--c_src/nif_helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c_src/nif_helpers.h b/c_src/nif_helpers.h
index 6454d27..8c1cfa4 100644
--- a/c_src/nif_helpers.h
+++ b/c_src/nif_helpers.h
@@ -121,6 +121,7 @@
typedef void* nif_thread_arg;
void* nif_create_main_thread(char*);
+void nif_destroy_main_thread(void*);
ERL_NIF_TERM nif_thread_cast(ErlNifEnv*, void (*f)(nif_thread_arg*), int a, ...);
ERL_NIF_TERM nif_thread_call(ErlNifEnv*, ERL_NIF_TERM (*f)(ErlNifEnv*, nif_thread_arg*), int a, ...);