Speeding up cocoa by increasing the frequency of the timer. Not part of build.

This commit is contained in:
hyatt%netscape.com 2002-02-13 23:04:38 +00:00
Родитель de0c335ab3
Коммит fde867884c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -96,7 +96,7 @@ static PRUintn gToolkitTLSIndex = 0;
mEventQueueService = service.get(); mEventQueueService = service.get();
NS_IF_ADDREF(mEventQueueService); NS_IF_ADDREF(mEventQueueService);
mEventTimer = [NSTimer scheduledTimerWithTimeInterval:0.1 target:self selector:@selector(eventTimer:) userInfo:nil mEventTimer = [NSTimer scheduledTimerWithTimeInterval:0.01 target:self selector:@selector(eventTimer:) userInfo:nil
repeats:YES]; repeats:YES];
NS_ASSERTION(mEventTimer, "UH OH! couldn't create periodic event processing timer"); NS_ASSERTION(mEventTimer, "UH OH! couldn't create periodic event processing timer");