1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-25 03:34:49 +00:00

Remove thread module.

Instead, use the more general and non-blocing `ev/` module.
This commit is contained in:
Calvin Rose
2021-09-19 14:18:49 -05:00
parent cccbdc164c
commit 6c58347916
11 changed files with 1 additions and 788 deletions

View File

@@ -1557,9 +1557,6 @@ int janet_init(void) {
janet_vm.root_fiber = NULL;
janet_vm.stackn = 0;
#ifdef JANET_THREADS
janet_threads_init();
#endif
#ifdef JANET_EV
janet_ev_init();
#endif
@@ -1586,9 +1583,6 @@ void janet_deinit(void) {
janet_vm.root_fiber = NULL;
janet_free(janet_vm.registry);
janet_vm.registry = NULL;
#ifdef JANET_THREADS
janet_threads_deinit();
#endif
#ifdef JANET_EV
janet_ev_deinit();
#endif