Taaitaaiger / jlrs

Julia bindings for Rust
MIT License
408 stars 21 forks source link

Expose thread adoption? #100

Closed Taaitaaiger closed 2 months ago

Taaitaaiger commented 11 months ago

Currently the only way to use Julia from multiple threads is by using the async runtime and send tasks to it. I'd like it to be possible to use a "sync runtime" from arbitrary threads by adopting those threads when the first scope is created if Julia has been initialized.

Taaitaaiger commented 2 months ago

The multithreaded runtime is this feature and more.