| 448 | } |
| 449 | |
| 450 | static void send_batch(int fd, size_t start, size_t nr) |
| 451 | { |
| 452 | size_t i; |
| 453 | sigchain_push(SIGPIPE, SIG_IGN); |
| 454 | for (i = 0; i < nr; i++) |
| 455 | send_one_item(fd, ¶llel_checkout.items[start + i]); |
| 456 | packet_flush(fd); |
| 457 | sigchain_pop(SIGPIPE); |
| 458 | } |
| 459 | |
| 460 | static struct pc_worker *setup_workers(struct checkout *state, int num_workers) |
| 461 | { |
no test coverage detected