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:
Richard Frith-MacDonald 2009-12-01 08:30:41 +00:00
parent 925df9eb91
commit a961de6c5d
3 changed files with 15 additions and 12 deletions

View file

@ -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>

View file

@ -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);

View file

@ -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);
}
}