Skip to content

Conversation

michael-yuji
Copy link
Member

On FreeBSD, libthr emits debug message to stderr if a TSD is non-null after PTHREAD_DESTRUCTOR_ITERATIONS of dtor getting called.

Currently, although we skipped setting the TSD to CF_TSD_BAD_PTR like other platforms, the TSD still remains non-null after max iterations of dtor calls and setting the TSD to NULL explicitly is needed

On FreeBSD, libthr emits debug message to stderr if a TSD is non-null after
`PTHREAD_DESTRUCTOR_ITERATIONS` of dtor getting called.

Currently, although we skipped setting the TSD to `CF_TSD_BAD_PTR` like other
platforms, the TSD still remains non-null after max iterations of dtor calls.
@jakepetroules
Copy link
Contributor

@swift-ci test

@michael-yuji michael-yuji merged commit ec67520 into swiftlang:main Sep 29, 2025
2 checks passed
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.

3 participants