mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
a425c9d53f
commit
5118c8f944
2 changed files with 12 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue