git-svn-id: svn://qnap.local/TwoTerm/branches/frameless@2473 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
Kelvin Sherlock 2012-08-04 22:37:52 +00:00
parent 7edca6dc13
commit a4d078bed5

View File

@ -70,8 +70,10 @@
tm.tv_sec = 10;
tm.tv_usec = 0;
errno = 0;
n = select(fd + 1, &read_set, NULL, &error_set, &tm);
//NSLog(@"select: %d %d", n, errno);
if (n == 0) continue;
if (n < 0) break;
@ -86,10 +88,8 @@
if ([self wait]) break;
}
if (!_childFinished) [self wait];
}