mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 13:55:21 +00:00
Homebrew atomic_ptr rewritten (util/shared_ptr.hpp)
It's analogous to C++20 atomic std::shared_ptr The following things brought into global namespace: single_ptr shared_ptr atomic_ptr make_single
This commit is contained in:
parent
bd90e3e37f
commit
b5d498ffda
15 changed files with 732 additions and 597 deletions
|
|
@ -215,7 +215,7 @@ public:
|
|||
const char* last_function{}; // Sticky copy of current_function, is not cleared on function return
|
||||
|
||||
// Thread name
|
||||
stx::atomic_cptr<std::string> ppu_tname;
|
||||
atomic_ptr<std::string> ppu_tname;
|
||||
|
||||
u64 last_ftsc = 0;
|
||||
u64 last_ftime = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue