Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored Mar 5, 2024
1 parent f4fde9d commit 34279a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 34279a6

Please sign in to comment.