Re: Parallel job instance identifiers?

2021-08-13 Thread Christian Hujer
Hi, Have you considered using port 0 instead to tap into the ephemeral port range and communicate that port somehow? >From what I understand, you want to use the job id as an offset to a base port to choose a port from a range, right? That sounds non-portable to me, spelling all sorts of ports

Parallel job instance identifiers?

2021-08-13 Thread Howard Chu via Bug reports and discussion for GNU make
In my original jobserver implementation, I filled the job pipe with up to 256 bytes, numbers from 0-255. The idea being that then make could distinguish each job with a unique ID number. That idea got thrown away when we decided to raise the limit to PIPEBUF (4096 on traditional Unix, much larger