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:
Richard Frith-MacDonald 2006-08-09 21:20:50 +00:00
parent a425c9d53f
commit 5118c8f944
2 changed files with 12 additions and 1 deletions

View file

@ -55,7 +55,8 @@
{
if (checkBlocking == YES)
{
return [(id)receiver runLoopShouldBlock: trigger];
BOOL result = [(id)receiver runLoopShouldBlock: trigger];
return result;
}
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
@implementation GSInetInputStream
@ -1451,6 +1456,11 @@ static void setNonblocking(SOCKET fd)
}
}
- (BOOL) runLoopShouldBlock: (BOOL*)trigger
{
*trigger = YES;
return YES;
}
@end
@implementation GSInetOutputStream