mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
NSThread: Add warning when truncating thread name
This commit is contained in:
parent
7474bd80e3
commit
538f0ed023
1 changed files with 1 additions and 0 deletions
|
@ -1391,6 +1391,7 @@ unregisterActiveThread(NSThread *thread)
|
|||
*/
|
||||
if (i > 15)
|
||||
{
|
||||
NSWarnLog(@"Truncating thread name '%s' to 15 characters due to platform limitations", buf);
|
||||
i = 15;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue