mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
Deprecate thread_ctrl::spawn
This commit is contained in:
parent
8e21f4d5d4
commit
6a443c0fbd
@ -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…
Reference in New Issue
Block a user