core/memory: Pooled memory implementation (#1085)

This commit is contained in:
Daniel R. 2024-09-29 09:28:41 +02:00 committed by GitHub
parent 5e98a3e1d8
commit 80bf46da4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 301 additions and 11 deletions

View file

@ -79,7 +79,7 @@ static void backup(const std::filesystem::path& dir_name) {
}
static void BackupThreadBody() {
Common::SetCurrentThreadName("SaveData_BackupThread");
Common::SetCurrentThreadName("shadPS4:SaveData_BackupThread");
while (g_backup_status != WorkerStatus::Stopping) {
g_backup_status = WorkerStatus::Waiting;

View file

@ -66,7 +66,7 @@ static void SaveFileSafe(void* buf, size_t count, const std::filesystem::path& p
}
[[noreturn]] void SaveThreadLoop() {
Common::SetCurrentThreadName("SaveData_SaveDataMemoryThread");
Common::SetCurrentThreadName("shadPS4:SaveData_SaveDataMemoryThread");
std::mutex mtx;
while (true) {
{