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
Родитель c8152f67a0
Коммит 7b30ffc103
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -96,7 +96,7 @@ static PRUintn gToolkitTLSIndex = 0;
mEventQueueService = service.get();
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];
NS_ASSERTION(mEventTimer, "UH OH! couldn't create periodic event processing timer");