Closed maleadt closed 7 months ago
Attention: Patch coverage is 86.20690%
with 4 lines
in your changes are missing coverage. Please review.
Project coverage is 72.06%. Comparing base (
bbc8095
) to head (b7b8c41
).
Files | Patch % | Lines |
---|---|---|
src/foundation.jl | 86.20% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds support for NSAutoreleasePool, and for running Julia code with an autorelease pool active. This is tricky for two reasons:
To work around both, I have a global lock to only ever have one piece of code running under an autorelease pool, while temporarily setting the current task's
sticky
bit tofalse
to prevent thread migration.