Skip to content

Dispatch Queue for macOS#929

Merged
sbSteveK merged 15 commits into
mainfrom
crt_updates
Nov 12, 2025
Merged

Dispatch Queue for macOS#929
sbSteveK merged 15 commits into
mainfrom
crt_updates

Conversation

@sbSteveK
Copy link
Copy Markdown
Contributor

@sbSteveK sbSteveK commented Oct 31, 2025

When dealing with Dispatch Queue threads we need to attach and detatch them to and from the JVM during the operational period of the thread. For non Dispatch Queue threads we add a callback that invokes and handles the detatch from JVM when the aws_thread exits. For Dispatch Queue we have no control over which threads are used, in what order, or their lifetimes so we detach as soon as we are done using them in callbacks.

Added additional logging to CrtResource.decRef to help with tracking of what is decreffing what.

The CI Jobs we have listed as non-required due to their extensive length runs and android device farm have been split into their own separate workflows.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Comment thread src/native/crt.c
Comment thread src/native/crt.c Outdated
@sbSteveK sbSteveK merged commit 68af487 into main Nov 12, 2025
100 of 101 checks passed
@sbSteveK sbSteveK deleted the crt_updates branch November 12, 2025 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants