mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
fixup missing notification changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29087 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
925df9eb91
commit
a961de6c5d
3 changed files with 15 additions and 12 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
* Source/NSMessagePortNameServer.m: Tolerate '*' host name.
|
||||
* Source/NSConnection.m: Clarify documentation slightly.
|
||||
* NSSocketPort.m:
|
||||
* win32/GSFileHandle.m:
|
||||
Fixup missing notification changes.
|
||||
|
||||
2009-11-27 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -1266,7 +1266,7 @@ static Class runLoopClass;
|
|||
if (ocurredEvents.lNetworkEvents & FD_CONNECT)
|
||||
{
|
||||
[self receivedEventWrite];
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
if (desc == INVALID_SOCKET)
|
||||
{
|
||||
M_UNLOCK(myLock);
|
||||
|
@ -1277,7 +1277,7 @@ static Class runLoopClass;
|
|||
if (ocurredEvents.lNetworkEvents & FD_READ)
|
||||
{
|
||||
[self receivedEventRead];
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
if (desc == INVALID_SOCKET)
|
||||
{
|
||||
M_UNLOCK(myLock);
|
||||
|
@ -1288,7 +1288,7 @@ static Class runLoopClass;
|
|||
if (ocurredEvents.lNetworkEvents & FD_OOB)
|
||||
{
|
||||
[self receivedEventRead];
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
if (desc == INVALID_SOCKET)
|
||||
{
|
||||
M_UNLOCK(myLock);
|
||||
|
@ -1300,7 +1300,7 @@ static Class runLoopClass;
|
|||
{
|
||||
readyToSend = YES;
|
||||
[self receivedEventWrite];
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
if (desc == INVALID_SOCKET)
|
||||
{
|
||||
M_UNLOCK(myLock);
|
||||
|
@ -1311,7 +1311,7 @@ static Class runLoopClass;
|
|||
if (ocurredEvents.lNetworkEvents & FD_CLOSE)
|
||||
{
|
||||
[self receivedEventRead];
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
if (desc == INVALID_SOCKET)
|
||||
{
|
||||
M_UNLOCK(myLock);
|
||||
|
|
|
@ -2239,35 +2239,35 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
|||
NSDebugMLLog(@"NSFileHandle", @"Connect on %x", extra);
|
||||
ocurredEvents.lNetworkEvents ^= FD_CONNECT;
|
||||
[self receivedEventWrite];
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
}
|
||||
if (ocurredEvents.lNetworkEvents & FD_ACCEPT)
|
||||
{
|
||||
NSDebugMLLog(@"NSFileHandle", @"Accept on %x", extra);
|
||||
ocurredEvents.lNetworkEvents ^= FD_ACCEPT;
|
||||
[self receivedEventRead];
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
}
|
||||
if (ocurredEvents.lNetworkEvents & FD_WRITE)
|
||||
{
|
||||
NSDebugMLLog(@"NSFileHandle", @"Write on %x", extra);
|
||||
ocurredEvents.lNetworkEvents ^= FD_WRITE;
|
||||
[self receivedEventWrite];
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
}
|
||||
if (ocurredEvents.lNetworkEvents & FD_READ)
|
||||
{
|
||||
NSDebugMLLog(@"NSFileHandle", @"Read on %x", extra);
|
||||
ocurredEvents.lNetworkEvents ^= FD_READ;
|
||||
[self receivedEventRead];
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
}
|
||||
if (ocurredEvents.lNetworkEvents & FD_OOB)
|
||||
{
|
||||
NSDebugMLLog(@"NSFileHandle", @"OOB on %x", extra);
|
||||
ocurredEvents.lNetworkEvents ^= FD_OOB;
|
||||
[self receivedEventRead];
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
}
|
||||
if (ocurredEvents.lNetworkEvents & FD_CLOSE)
|
||||
{
|
||||
|
@ -2281,7 +2281,7 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
|||
{
|
||||
[self receivedEventRead];
|
||||
}
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
}
|
||||
if (ocurredEvents.lNetworkEvents)
|
||||
{
|
||||
|
@ -2299,7 +2299,7 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
|||
{
|
||||
[self receivedEventRead];
|
||||
}
|
||||
GSPrivateNotifyASAP();
|
||||
GSPrivateNotifyASAP(mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue