Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdtalsma authored Dec 7, 2024
1 parent 01f6da5 commit df7a4df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ you can use our _context aware_ ExecutorService instead of your usual threadpool

When submitting new work, this automatically takes a context snapshot
to reactivate in the background thread.
After the background thread finishes the snapshot is closed,
ensuring no ThreadLocal values leak into the thread pool.
After the background thread finishes, the snapshot reactivation is closed,
ensuring that no remaining ThreadLocal values leak into the thread pool.

The `ContextAwareExecutorService` can wrap any ExecutorService for the actual thread execution:
```java
Expand Down

0 comments on commit df7a4df

Please sign in to comment.