Setup for read_batch mode a little differently:
- Avoid calling local_child(). - Create a pipe that lets the generator send us index values. - Set batch_gen_fd for the receiver to read the pipe.
Showing
Please register or sign in to comment