4 ms·
> Each thread has its own Janet heap, which means threads behave more like processes that communicate by message passing. https://janet-lang.org/docs/threads.h
by pansa2 5y ago
> Each thread has its own Janet heap, which means threads behave more like processes that communicate by message passing.
https://janet-lang.org/docs/threads.html https://janet-lang.org/docs/threads.html
Janet doesn’t seem to have shared-memory multithreading. Each thread runs independently, so a GIL should not be necessary.
- saikyun 5y agoThough you can share memory manually, i.e. in C but access it from Janet.