Skip to content

Conversation

@Malkierian
Copy link
Contributor

@Malkierian Malkierian commented May 2, 2023

Makes game save flow operate on LUS thread pool. Has all thread safety I can think of.

Build Artifacts

Malkierian added 4 commits May 1, 2023 23:13
…ude gameplaystats.h` and `InitStatTracker` in the cpp to fix compile issues.

Adds SaveContext reference parameters to SaveFunc and existing implementations in preparation for threaded saves.
Platform-specific save code removed.

Thread safety added. Will wait for thread pool tasks to finish before resetting or closing.
…deleted at the end of the threaded function to prevent possible issues with the stack.
@briaguya0 briaguya0 changed the base branch from develop to develop-spock May 5, 2023 21:17
@leggettc18 leggettc18 merged commit 778f548 into HarbourMasters:develop-spock May 5, 2023
@Malkierian Malkierian deleted the threaded-saves branch May 7, 2023 01:58
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.

5 participants