fixup runloop activity for wingw sockets

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23238 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-08-09 21:20:50 +00:00
parent f2f59fa1c2
commit 6b7b3c4906
2 changed files with 12 additions and 1 deletions

View file

@ -55,7 +55,8 @@
{ {
if (checkBlocking == YES) if (checkBlocking == YES)
{ {
return [(id)receiver runLoopShouldBlock: trigger]; BOOL result = [(id)receiver runLoopShouldBlock: trigger];
return result;
} }
else if (type == ET_TRIGGER) else if (type == ET_TRIGGER)
{ {

View file

@ -861,6 +861,11 @@ static void setNonblocking(SOCKET fd)
} }
} }
- (BOOL) runLoopShouldBlock: (BOOL*)trigger
{
*trigger = YES;
return YES;
}
@end @end
@implementation GSInetInputStream @implementation GSInetInputStream
@ -1451,6 +1456,11 @@ static void setNonblocking(SOCKET fd)
} }
} }
- (BOOL) runLoopShouldBlock: (BOOL*)trigger
{
*trigger = YES;
return YES;
}
@end @end
@implementation GSInetOutputStream @implementation GSInetOutputStream