| # | Line 504 | Line 504 | PACKET *pl; | |
|---|---|---|
| 504 | p->next = freepacks; /* push onto free list */ | |
| 505 | freepacks = p; | |
| 506 | } | |
| 507 | + | #if MAXQTIME |
| 508 | if (n2flush > 300/MAXQTIME*totqlen) { | |
| 509 | < | hdflush(NULL); /* flush holodeck buffers */ |
| 509 | > | #else |
| 510 | > | if (n2flush > 50*totqlen) { |
| 511 | > | #endif |
| 512 | > | if (outdev == NULL) |
| 513 | > | hdflush(NULL); /* flush holodeck buffers */ |
| 514 | > | else |
| 515 | > | hdsync(NULL, 1); /* sync holodeck file */ |
| 516 | n2flush = 0; | |
| 517 | } | |
| 518 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |