mirror of
https://github.com/janet-lang/janet
synced 2025-11-08 11:33:02 +00:00
Remove thread module.
Instead, use the more general and non-blocing `ev/` module.
This commit is contained in:
@@ -3672,12 +3672,6 @@
|
||||
(put into k (x k))))
|
||||
into)
|
||||
|
||||
# Deprecate thread library
|
||||
(loop [[k v] :in (pairs root-env)
|
||||
:when (symbol? k)
|
||||
:when (string/has-prefix? "thread/" k)]
|
||||
(put v :deprecated true))
|
||||
|
||||
# Modify root-env to remove private symbols and
|
||||
# flatten nested tables.
|
||||
(loop [[k v] :in (pairs root-env)
|
||||
@@ -3762,7 +3756,6 @@
|
||||
"src/core/struct.c"
|
||||
"src/core/symcache.c"
|
||||
"src/core/table.c"
|
||||
"src/core/thread.c"
|
||||
"src/core/tuple.c"
|
||||
"src/core/util.c"
|
||||
"src/core/value.c"
|
||||
|
||||
Reference in New Issue
Block a user