[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EAGAIN in "read jobs pipe"

From: Paul Smith
Subject: Re: EAGAIN in "read jobs pipe"
Date: Wed, 10 Jan 2007 08:13:41 -0500

On Wed, 2007-01-10 at 01:53 -0800, Howard Chu wrote:

> An essential design choice. This stuff relies on reads and writes of the 
> job_fd being atomic and the writes never blocking. POSIX guarantees a 4K 
> buffer for pipes. Perhaps the code should check the resource limit and 
> complain if the -j argument exceeds the resource limit: "Error: why 
> don't you just use '-j' ??"

Yes, that's a good idea.  I will add some error checking to the code
that initially seeds the pipe with tokens.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

[Prev in Thread] Current Thread [Next in Thread]