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