mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 09:31:07 +00:00
asan fixes for gcc and gnu runtime
This commit is contained in:
parent
018111efbb
commit
9cdb4f98ba
5 changed files with 13 additions and 6 deletions
|
@ -1399,7 +1399,8 @@ unregisterActiveThread(NSThread *thread)
|
|||
*/
|
||||
if (i > 15)
|
||||
{
|
||||
NSWarnLog(@"Truncating thread name '%s' to 15 characters due to platform limitations", buf);
|
||||
NSWarnLog(@"Truncating thread name '%s' to 15 characters"
|
||||
@" due to platform limitations", buf);
|
||||
i = 15;
|
||||
}
|
||||
else
|
||||
|
@ -1467,6 +1468,7 @@ nsthreadLauncher(void *thread)
|
|||
|
||||
setThreadForCurrentThread(t);
|
||||
|
||||
ENTER_POOL
|
||||
/*
|
||||
* Let observers know a new thread is starting.
|
||||
*/
|
||||
|
@ -1479,6 +1481,7 @@ nsthreadLauncher(void *thread)
|
|||
userInfo: nil];
|
||||
|
||||
[t _setName: [t name]];
|
||||
LEAVE_POOL
|
||||
|
||||
[t main];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue