mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
Optimisation mostly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4098 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
832c4c2ec2
commit
84e7ffcdef
17 changed files with 697 additions and 319 deletions
|
@ -81,7 +81,7 @@ static NSString* tkey = @"NotificationQueueListThreadKey";
|
|||
NotificationQueueList* list;
|
||||
NSThread* t;
|
||||
|
||||
t = [NSThread currentThread];
|
||||
t = GSCurrentThread();
|
||||
list = (NotificationQueueList*)[[t threadDictionary] objectForKey:tkey];
|
||||
if (list == nil)
|
||||
{
|
||||
|
@ -129,7 +129,7 @@ static NSString* tkey = @"NotificationQueueListThreadKey";
|
|||
{
|
||||
NSThread* t;
|
||||
|
||||
t = [NSThread currentThread];
|
||||
t = GSCurrentThread();
|
||||
if (list->next)
|
||||
{
|
||||
NotificationQueueList* tmp = list->next;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue