Skip to content

Commit 34bbd43

Browse files
committed
formatting
1 parent 0cf33e8 commit 34bbd43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/news/2026/03/11/async_virtual_threads.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Threads must block while waiting on I/O operations to complete. "Parking" allows
1313

1414
`io-thread` was added in a previous core.async release and is a new execution context for running both blocking channel operations and blocking I/O operations (which are not supported in `go`). Parking operations are not allowed in `io-thread` (same as the `thread` context).
1515

16-
`io-thread`s use the `:io` executor pool, which will now use virtual threads, when available. If used in Java without virtual threads (< 21), `io-thread` continues to run in a cached thread pool with platform threads.
16+
`io-thread` uses the `:io` executor pool, which will now use virtual threads, when available. If used in Java without virtual threads (< 21), `io-thread` continues to run in a cached thread pool with platform threads.
1717

18-
With this change, all blocking operations in `io-thread` can park without consuming a platform thread.
18+
With this change, all blocking operations in `io-thread` park without consuming a platform thread on Java 21+.
1919

2020
== `go` blocks
2121

0 commit comments

Comments
 (0)