mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #1131] [MERGED] Run graal_attach_thread ahead of all calls
#903
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1131
Author: @KushalP
Created: 7/21/2025
Status: ✅ Merged
Merged: 7/21/2025
Merged by: @KushalP
Base:
c-library← Head:c-library-attach-thread📝 Commits (2)
56bd06bRenameisolatethreadtograal_isolatethread6857c2aRungraal_attach_threadahead of all calls📊 Changes
1 file changed (+41 additions, -11 deletions)
View changed files
📝
libpkl/src/main/c/pkl.c(+41 -11)📄 Description
This is to deal with the case when using a language like Golang, where
a Goroutine is managed by the runtime, and can be moved to an
arbitrary system thread behind the scenes.
This PR is the sibling PR mentioned in https://github.com/apple/pkl-go/pull/149
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.