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.
yann@1
     1
Unless otherwise stated in individaul files, this work is licensed to you under
yann@1
     2
the following terms.
yann@1
     3
yann@1
     4
- Files in docs/ are available under the Creative Commons Attribution, Share
yann@1
     5
  Alike (by-sa), v2.5, to be found there:
yann@17
     6
    licenses.d/by-sa/deed.en     (human-readable summary)
yann@17
     7
    licenses.d/by-sa/legalcode   (legal code, the full license)
yann@1
     8
    
yann@1
     9
- Files found in patches/uClibc/*/ are available under the GNU Lesser General
yann@17
    10
  Public License (LGPL), v2.1, to be found there:
yann@17
    11
    licenses.d/lgpl.txt
yann@1
    12
yann@1
    13
- Files found in patches/glibc/*/ are available under the GNU Lesser General
yann@1
    14
  Public License (LGPL), v2.1, to be found there:
yann@17
    15
    licenses.d/lgpl.txt
yann@1
    16
yann@1
    17
- Other files not covered by the above licenses, and not covered by an
yann@1
    18
  individual license specified in the file itself, or an accompanying file,
yann@1
    19
  are available under the GNU General Public License (GPL), v2, to be found
yann@1
    20
  here:
yann@17
    21
    licenses.d/gpl.txt