mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Tidied for gcc-3 warnings etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10226 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d9d407e690
commit
0104b79cb6
6 changed files with 48 additions and 37 deletions
|
@ -2326,6 +2326,7 @@ static BOOL multi_threaded = NO;
|
|||
NSDate *timeout_date = nil;
|
||||
NSTimeInterval delay_interval = 0.001;
|
||||
NSDate *delay_date = nil;
|
||||
NSRunLoop *runLoop = [runLoopClass currentRunLoop];
|
||||
|
||||
if (debug_connection > 5)
|
||||
NSLog(@"Waiting for reply sequence %d on %x:%x",
|
||||
|
@ -2377,8 +2378,8 @@ static BOOL multi_threaded = NO;
|
|||
* were waiting for the final timeout, then we must break out
|
||||
* of the loop.
|
||||
*/
|
||||
if ([runLoopClass runOnceBeforeDate: limit_date
|
||||
forMode: NSConnectionReplyMode] == NO)
|
||||
if ([runLoop runMode: NSConnectionReplyMode
|
||||
beforeDate: limit_date] == NO)
|
||||
{
|
||||
if (limit_date == timeout_date)
|
||||
{
|
||||
|
@ -2393,8 +2394,8 @@ static BOOL multi_threaded = NO;
|
|||
/*
|
||||
* Normal operation - wait for data to be recieved or for a timeout.
|
||||
*/
|
||||
if ([runLoopClass runOnceBeforeDate: timeout_date
|
||||
forMode: NSConnectionReplyMode] == NO)
|
||||
if ([runLoop runMode: NSConnectionReplyMode
|
||||
beforeDate: timeout_date] == NO)
|
||||
{
|
||||
M_LOCK(_queueGate);
|
||||
node = GSIMapNodeForKey(_replyMap, (GSIMapKey)sn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue