mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
a4d6e16f4c
commit
b025de4a73
3 changed files with 15 additions and 12 deletions
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
* Source/NSMessagePortNameServer.m: Tolerate '*' host name.
|
* Source/NSMessagePortNameServer.m: Tolerate '*' host name.
|
||||||
* Source/NSConnection.m: Clarify documentation slightly.
|
* Source/NSConnection.m: Clarify documentation slightly.
|
||||||
|
* NSSocketPort.m:
|
||||||
|
* win32/GSFileHandle.m:
|
||||||
|
Fixup missing notification changes.
|
||||||
|
|
||||||
2009-11-27 Richard Frith-Macdonald <rfm@gnu.org>
|
2009-11-27 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -1266,7 +1266,7 @@ static Class runLoopClass;
|
||||||
if (ocurredEvents.lNetworkEvents & FD_CONNECT)
|
if (ocurredEvents.lNetworkEvents & FD_CONNECT)
|
||||||
{
|
{
|
||||||
[self receivedEventWrite];
|
[self receivedEventWrite];
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
if (desc == INVALID_SOCKET)
|
if (desc == INVALID_SOCKET)
|
||||||
{
|
{
|
||||||
M_UNLOCK(myLock);
|
M_UNLOCK(myLock);
|
||||||
|
@ -1277,7 +1277,7 @@ static Class runLoopClass;
|
||||||
if (ocurredEvents.lNetworkEvents & FD_READ)
|
if (ocurredEvents.lNetworkEvents & FD_READ)
|
||||||
{
|
{
|
||||||
[self receivedEventRead];
|
[self receivedEventRead];
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
if (desc == INVALID_SOCKET)
|
if (desc == INVALID_SOCKET)
|
||||||
{
|
{
|
||||||
M_UNLOCK(myLock);
|
M_UNLOCK(myLock);
|
||||||
|
@ -1288,7 +1288,7 @@ static Class runLoopClass;
|
||||||
if (ocurredEvents.lNetworkEvents & FD_OOB)
|
if (ocurredEvents.lNetworkEvents & FD_OOB)
|
||||||
{
|
{
|
||||||
[self receivedEventRead];
|
[self receivedEventRead];
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
if (desc == INVALID_SOCKET)
|
if (desc == INVALID_SOCKET)
|
||||||
{
|
{
|
||||||
M_UNLOCK(myLock);
|
M_UNLOCK(myLock);
|
||||||
|
@ -1300,7 +1300,7 @@ static Class runLoopClass;
|
||||||
{
|
{
|
||||||
readyToSend = YES;
|
readyToSend = YES;
|
||||||
[self receivedEventWrite];
|
[self receivedEventWrite];
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
if (desc == INVALID_SOCKET)
|
if (desc == INVALID_SOCKET)
|
||||||
{
|
{
|
||||||
M_UNLOCK(myLock);
|
M_UNLOCK(myLock);
|
||||||
|
@ -1311,7 +1311,7 @@ static Class runLoopClass;
|
||||||
if (ocurredEvents.lNetworkEvents & FD_CLOSE)
|
if (ocurredEvents.lNetworkEvents & FD_CLOSE)
|
||||||
{
|
{
|
||||||
[self receivedEventRead];
|
[self receivedEventRead];
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
if (desc == INVALID_SOCKET)
|
if (desc == INVALID_SOCKET)
|
||||||
{
|
{
|
||||||
M_UNLOCK(myLock);
|
M_UNLOCK(myLock);
|
||||||
|
|
|
@ -2239,35 +2239,35 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
||||||
NSDebugMLLog(@"NSFileHandle", @"Connect on %x", extra);
|
NSDebugMLLog(@"NSFileHandle", @"Connect on %x", extra);
|
||||||
ocurredEvents.lNetworkEvents ^= FD_CONNECT;
|
ocurredEvents.lNetworkEvents ^= FD_CONNECT;
|
||||||
[self receivedEventWrite];
|
[self receivedEventWrite];
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
}
|
}
|
||||||
if (ocurredEvents.lNetworkEvents & FD_ACCEPT)
|
if (ocurredEvents.lNetworkEvents & FD_ACCEPT)
|
||||||
{
|
{
|
||||||
NSDebugMLLog(@"NSFileHandle", @"Accept on %x", extra);
|
NSDebugMLLog(@"NSFileHandle", @"Accept on %x", extra);
|
||||||
ocurredEvents.lNetworkEvents ^= FD_ACCEPT;
|
ocurredEvents.lNetworkEvents ^= FD_ACCEPT;
|
||||||
[self receivedEventRead];
|
[self receivedEventRead];
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
}
|
}
|
||||||
if (ocurredEvents.lNetworkEvents & FD_WRITE)
|
if (ocurredEvents.lNetworkEvents & FD_WRITE)
|
||||||
{
|
{
|
||||||
NSDebugMLLog(@"NSFileHandle", @"Write on %x", extra);
|
NSDebugMLLog(@"NSFileHandle", @"Write on %x", extra);
|
||||||
ocurredEvents.lNetworkEvents ^= FD_WRITE;
|
ocurredEvents.lNetworkEvents ^= FD_WRITE;
|
||||||
[self receivedEventWrite];
|
[self receivedEventWrite];
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
}
|
}
|
||||||
if (ocurredEvents.lNetworkEvents & FD_READ)
|
if (ocurredEvents.lNetworkEvents & FD_READ)
|
||||||
{
|
{
|
||||||
NSDebugMLLog(@"NSFileHandle", @"Read on %x", extra);
|
NSDebugMLLog(@"NSFileHandle", @"Read on %x", extra);
|
||||||
ocurredEvents.lNetworkEvents ^= FD_READ;
|
ocurredEvents.lNetworkEvents ^= FD_READ;
|
||||||
[self receivedEventRead];
|
[self receivedEventRead];
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
}
|
}
|
||||||
if (ocurredEvents.lNetworkEvents & FD_OOB)
|
if (ocurredEvents.lNetworkEvents & FD_OOB)
|
||||||
{
|
{
|
||||||
NSDebugMLLog(@"NSFileHandle", @"OOB on %x", extra);
|
NSDebugMLLog(@"NSFileHandle", @"OOB on %x", extra);
|
||||||
ocurredEvents.lNetworkEvents ^= FD_OOB;
|
ocurredEvents.lNetworkEvents ^= FD_OOB;
|
||||||
[self receivedEventRead];
|
[self receivedEventRead];
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
}
|
}
|
||||||
if (ocurredEvents.lNetworkEvents & FD_CLOSE)
|
if (ocurredEvents.lNetworkEvents & FD_CLOSE)
|
||||||
{
|
{
|
||||||
|
@ -2281,7 +2281,7 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
||||||
{
|
{
|
||||||
[self receivedEventRead];
|
[self receivedEventRead];
|
||||||
}
|
}
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
}
|
}
|
||||||
if (ocurredEvents.lNetworkEvents)
|
if (ocurredEvents.lNetworkEvents)
|
||||||
{
|
{
|
||||||
|
@ -2299,7 +2299,7 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
||||||
{
|
{
|
||||||
[self receivedEventRead];
|
[self receivedEventRead];
|
||||||
}
|
}
|
||||||
GSPrivateNotifyASAP();
|
GSPrivateNotifyASAP(mode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue