RootTaskREPL creates a Julia REPL where the REPL backend runs on the current Task and the frontend runs on a new task. This allows the backend to execute on the root Task if used at startup.
If initialized on the root Task, the module will automatically start the REPL.
This is useful for packages that must be initialized on the root Task on some platforms (e.g. JavaCall)
Usage:
julia -e "import RootTaskREPL"
julia-root> Base.roottask === Base.current_task()
true
Advanced Usage:
ROOTTASKREPL_ON_INIT=0 julia -e \
"import RootTaskREPL; RootTaskREPL.run_main_repl()"
Licensed under MIT "Expat" License. See License.md for details.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4