Mercurial > hg > xemacs-beta
comparison src/process.c @ 104:cf808b4c4290 r20-1b4
Import from CVS: tag r20-1b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:16:51 +0200 |
parents | a145efe76779 |
children | 360340f9fd5f |
comparison
equal
deleted
inserted
replaced
103:30eda07fe280 | 104:cf808b4c4290 |
---|---|
1444 goto loop; | 1444 goto loop; |
1445 if (errno == EADDRINUSE && retry < 20) | 1445 if (errno == EADDRINUSE && retry < 20) |
1446 { | 1446 { |
1447 /* A delay here is needed on some FreeBSD systems, | 1447 /* A delay here is needed on some FreeBSD systems, |
1448 and it is harmless, since this retrying takes time anyway | 1448 and it is harmless, since this retrying takes time anyway |
1449 and should be infrequent. */ | 1449 and should be infrequent. |
1450 Fsleep_for (make_int (1)); | 1450 `sleep-for' allowed for quitting this loop with interrupts |
1451 slowed down so it can't be used here. Async timers should | |
1452 already be disabled at this point so we can use `sleep'. */ | |
1453 sleep (1); | |
1451 retry++; | 1454 retry++; |
1452 goto loop; | 1455 goto loop; |
1453 } | 1456 } |
1454 | 1457 |
1455 close (s); | 1458 close (s); |