diff --git a/README.md b/README.md index 50a7f16..a17ca3b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # ForeignCallbacks.jl +### VERSION >= Julia v1.9 + +Julia 1.9+ supports [foreign thread adoption](https://github.com/JuliaLang/julia/pull/46609) this means we can now execute +arbitrary code on foreign threads and `ForeignCallbacks.jl` is no longer needed. + +## VERSION < Julia v1.9 Callbacks executing on a foreign (to Julia) thread are not allowed to interact with the Julia runtime. The one canonical exception is the use of `Base.AsyncCondition` and `uv_async_send`. This has worked for 1:1 cases where there is one event trigger mapped to one `AsyncCondition`. The problem with