Skip to content

Conversation

@Sonicadvance1
Copy link
Member

This was a nasty race condition where each thread could be accessing the DRM cache at any given moment. Move it over to a per thread object that is only allocated once it gets used.

Also removes an atexit registration that contributes to crashing on exit.

@Sonicadvance1 Sonicadvance1 force-pushed the 46 branch 3 times, most recently from e831d04 to ab80d87 Compare January 16, 2026 19:15
Copy link
Member

@neobrain neobrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting there. To reiterate, implementation details should stay in the cpp file.

This was a nasty race condition where each thread could be accessing the
DRM cache at any given moment. Move it over to a per thread object that
is only allocated once it gets used.

Also removes an `atexit` registration that contributes to crashing on
exit.
@Sonicadvance1 Sonicadvance1 merged commit 1b18f85 into FEX-Emu:main Jan 26, 2026
13 checks passed
@Sonicadvance1 Sonicadvance1 deleted the 46 branch January 26, 2026 21:11
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