mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16372 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
360506a029
commit
f06c0dea4f
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2003-04-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSThread.m: (GSPerformHolder) execute perform operations
|
||||||
|
in the same order in which they were submitted.
|
||||||
|
|
||||||
2003-04-04 Stephane Corthesy <stephane@sente.ch>
|
2003-04-04 Stephane Corthesy <stephane@sente.ch>
|
||||||
|
|
||||||
* macosx/config.h, macosx/preface.h: Update.
|
* macosx/config.h, macosx/preface.h: Update.
|
||||||
|
|
|
@ -725,7 +725,8 @@ static NSDate *theFuture;
|
||||||
forMode: (NSString*)mode
|
forMode: (NSString*)mode
|
||||||
{
|
{
|
||||||
NSRunLoop *loop = [NSRunLoop currentRunLoop];
|
NSRunLoop *loop = [NSRunLoop currentRunLoop];
|
||||||
unsigned c;
|
unsigned int i;
|
||||||
|
unsigned int c;
|
||||||
char dummy;
|
char dummy;
|
||||||
|
|
||||||
read(inputFd, &dummy, 1);
|
read(inputFd, &dummy, 1);
|
||||||
|
@ -733,9 +734,9 @@ static NSDate *theFuture;
|
||||||
[subthreadsLock lock];
|
[subthreadsLock lock];
|
||||||
|
|
||||||
c = [perfArray count];
|
c = [perfArray count];
|
||||||
while (c-- > 0)
|
for (i = 0; i < c; i++)
|
||||||
{
|
{
|
||||||
GSPerformHolder *h = [perfArray objectAtIndex: c];
|
GSPerformHolder *h = [perfArray objectAtIndex: i];
|
||||||
|
|
||||||
[loop performSelector: @selector(fire)
|
[loop performSelector: @selector(fire)
|
||||||
target: h
|
target: h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue