Mercurial > hg > xemacs-beta
comparison src/process.c @ 26:441bb1e64a06 r19-15b96
Import from CVS: tag r19-15b96
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:51:32 +0200 |
parents | 859a2309aef8 |
children | ec9a17fef872 |
comparison
equal
deleted
inserted
replaced
25:383a494979f8 | 26:441bb1e64a06 |
---|---|
1440 goto loop; | 1440 goto loop; |
1441 if (errno == EADDRINUSE && retry < 20) | 1441 if (errno == EADDRINUSE && retry < 20) |
1442 { | 1442 { |
1443 /* A delay here is needed on some FreeBSD systems, | 1443 /* A delay here is needed on some FreeBSD systems, |
1444 and it is harmless, since this retrying takes time anyway | 1444 and it is harmless, since this retrying takes time anyway |
1445 and should be infrequent. */ | 1445 and should be infrequent. |
1446 Fsleep_for (make_int (1)); | 1446 `sleep-for' allowed for quitting this loop with interrupts |
1447 slowed down so it can't be used here. Async timers should | |
1448 already be disabled at this point so we can use `sleep'. */ | |
1449 sleep (1); | |
1447 retry++; | 1450 retry++; |
1448 goto loop; | 1451 goto loop; |
1449 } | 1452 } |
1450 | 1453 |
1451 close (s); | 1454 close (s); |