mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Deprecate thread_ctrl::spawn
This commit is contained in:
parent
8e21f4d5d4
commit
6a443c0fbd
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ public:
|
|||
|
||||
// Spawn a detached named thread
|
||||
template <typename F>
|
||||
static void spawn(std::string_view name, F&& func)
|
||||
[[deprecated]] static void spawn(std::string_view name, F&& func)
|
||||
{
|
||||
new named_thread<F>(thread_state::detached, name, std::forward<F>(func));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue