mirror of
https://github.com/N64Recomp/N64ModernRuntime.git
synced 2026-05-10 19:01:53 +00:00
Singular
This commit is contained in:
parent
9b29c391ca
commit
c2cfb68b32
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ void ultramodern::set_native_thread_priority(ThreadPriority pri) {
|
|||
void ultramodern::set_native_thread_name(const std::string& name) {
|
||||
// `pthread_setname_np` only accepts up to 16 characters including the null terminator.
|
||||
if (name.length() > 15) {
|
||||
debug_printf("[Threads] Truncating '%s' thread name up to 15 characters", name.c_str());
|
||||
debug_printf("[Thread] Truncating '%s' thread name up to 15 characters", name.c_str());
|
||||
}
|
||||
std::string new_name = name.substr(0, 15);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue