Skip to content

Suggestion: add some error / log for any SDL thread - #16275

Open
1bsyl wants to merge 1 commit into
libsdl-org:mainfrom
1bsyl:br_thread_error_log
Open

1bsyl wants to merge 1 commit into
libsdl-org:mainfrom
1bsyl:br_thread_error_log

Conversation

@1bsyl

@1bsyl 1bsyl commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor
  • I confirm that I am the author of this code and release it to the SDL project under the zlib license. This contribution does not contain code from other sources, including code generated by a Large Language Model ("AI").

Maybe we could have some log information when an SDL thread terminates : so we know when it terminates, with or without error. Otherwise, the error information that is "per thread" is somehow lost and can be unoticed. (whether this is a system or user thread).
it happens I use this sometime. ( and also like to check the Error status of the main thread when it ends).

This could activated with some pre-processor "#idef", or whatever ?

@1bsyl 1bsyl changed the title Add some error thread log Suggestion: add some error / log for any SDL thread Sep 9, 2026
@1bsyl
1bsyl force-pushed the br_thread_error_log branch from 377c4ec to 12f7106 Compare September 9, 2026 14:31
@icculus icculus added this to the 3.6.0 milestone Sep 9, 2026
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