mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
bump LUS for thread stuff (#2866)
* bump for threads * use latest lus main --------- Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
23d40c1ca5
commit
b887d38f5f
@ -1 +1 @@
|
||||
Subproject commit 26cd6b45e6d9614c0223f238734e70b8b85b1758
|
||||
Subproject commit 9d83e108a5b15dc2f8631b9dd754308abd798270
|
@ -761,7 +761,7 @@ void SaveManager::SaveFile(int fileNum) {
|
||||
// Can't think of any time the promise would be needed, so use push_task instead of submit
|
||||
auto saveContext = new SaveContext;
|
||||
memcpy(saveContext, &gSaveContext, sizeof(gSaveContext));
|
||||
smThreadPool->push_task(&SaveManager::SaveFileThreaded, this, fileNum, saveContext);
|
||||
smThreadPool->push_task_back(&SaveManager::SaveFileThreaded, this, fileNum, saveContext);
|
||||
}
|
||||
|
||||
void SaveManager::SaveGlobal() {
|
||||
|
Loading…
Reference in New Issue
Block a user