mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
Use new RunLoop mechanism.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1228 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
29e7f82a7e
commit
e9e3b2c4a8
1 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,8 @@
|
|||
#include <objects/Coder.h>
|
||||
#include <objects/BinaryCStream.h>
|
||||
#include <objects/String.h>
|
||||
#include <objects/RunLoop.h>
|
||||
#include <Foundation/NSDate.h>
|
||||
#include <assert.h>
|
||||
#include "server.h"
|
||||
|
||||
|
@ -130,7 +132,8 @@ int main(int argc, char *argv[])
|
|||
printf("repeated triangle %d object proxy's hash is 0x%x\n",
|
||||
j, (unsigned)[remote_peer_obj hash]);
|
||||
}
|
||||
[c runConnectionWithTimeout:1500];
|
||||
|
||||
[RunLoop runUntilDate: [NSDate dateWithTimeIntervalSinceNow: 20 * 60]];
|
||||
[c invalidate];
|
||||
|
||||
exit(0);
|
||||
|
|
Loading…
Reference in a new issue