Skip to content

Commit

Permalink
Add release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
dipinhora committed Nov 25, 2024
1 parent 1c97263 commit bddf568
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .release-notes/4547.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Add support for pinning actors to a dedicated scheduler thread

Pony programmers can now pin actors to a dedicated scheduler thread. This can be required/used for interfacing with C libraries that rely on thread local storage. A common example of this is graphics/windowing libraries.

The way it works is that an actor can request that it be pinned and then check to confirm that the pinning was successfully applied after which all subsequent behaviors on that actor will run on the same scheduler thread until the actor is destroyed or the actor requests to be unpinned.

Additional details can be found in the `actor_pinning` package in the standard library.

0 comments on commit bddf568

Please sign in to comment.