diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-24 16:33:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 16:33:53 +0200 |
commit | 7d89f2c1460b121bad14da5d1c7e13cc24e20527 (patch) | |
tree | 0a834f0d8440bde19acc12a38ff59ee885e52eef /src/core/hle/service/service.h | |
parent | Merge pull request #11367 from FearlessTobi/fix-filesize (diff) | |
parent | sockets: avoid locking around socket session calls (diff) | |
download | yuzu-7d89f2c1460b121bad14da5d1c7e13cc24e20527.tar yuzu-7d89f2c1460b121bad14da5d1c7e13cc24e20527.tar.gz yuzu-7d89f2c1460b121bad14da5d1c7e13cc24e20527.tar.bz2 yuzu-7d89f2c1460b121bad14da5d1c7e13cc24e20527.tar.lz yuzu-7d89f2c1460b121bad14da5d1c7e13cc24e20527.tar.xz yuzu-7d89f2c1460b121bad14da5d1c7e13cc24e20527.tar.zst yuzu-7d89f2c1460b121bad14da5d1c7e13cc24e20527.zip |
Diffstat (limited to 'src/core/hle/service/service.h')
-rw-r--r-- | src/core/hle/service/service.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h index 45b2c43b7..d539ed0f4 100644 --- a/src/core/hle/service/service.h +++ b/src/core/hle/service/service.h @@ -79,8 +79,8 @@ protected: using HandlerFnP = void (Self::*)(HLERequestContext&); /// Used to gain exclusive access to the service members, e.g. from CoreTiming thread. - [[nodiscard]] std::scoped_lock<std::mutex> LockService() { - return std::scoped_lock{lock_service}; + [[nodiscard]] virtual std::unique_lock<std::mutex> LockService() { + return std::unique_lock{lock_service}; } /// System context that the service operates under. |