COPYING
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun May 20 13:48:26 2007 +0000 (2007-05-20)
changeset 112 ea15433daba0
parent 1 eeea35fbf182
child 191 e9483f539bce
permissions -rw-r--r--
Ah! I finally have a progress bar that doesn't stall the build!
- pipe size in Linux is only 8*512=4096 bytes
- pipe size is not setable
- when the feeding process spits out data faster than the eating
process can read it, then the feeding process stalls after 4KiB
of data sent to the pipe
- for us, the progress bar would spawn a sub-shell every line,
and the sub-shell would in turn spawn a 'date' command.
Which was sloooww as hell, and would cause some kind of a
starvation: the pipe was full most of the time, and the
feeding process was stalled all this time.

Now, we use internal variables and a little hack based onan offset
to determine the elapsed time. Much faster this way, but still
CPU-intensive.
     1 Unless otherwise stated in individaul files, this work is licensed to you under
     2 the following terms.
     3 
     4 - Files in docs/ are available under the Creative Commons Attribution, Share
     5   Alike (by-sa), v2.5, to be found there:
     6     licenses.d/by-sa/deed.en     (human-readable summary)
     7     licenses.d/by-sa/legalcode   (legal code, the full license)
     8     
     9 - Files found in patches/uClibc/*/ are available under the GNU Lesser General
    10   Public License (LGPL), v2.1, to be found there:
    11     licenses.d/lgpl.txt
    12 
    13 - Files found in patches/glibc/*/ are available under the GNU Lesser General
    14   Public License (LGPL), v2.1, to be found there:
    15     licenses.d/lgpl.txt
    16 
    17 - Other files not covered by the above licenses, and not covered by an
    18   individual license specified in the file itself, or an accompanying file,
    19   are available under the GNU General Public License (GPL), v2, to be found
    20   here:
    21     licenses.d/gpl.txt