OSDN Git Service

Change the fifo size from being statically tuned for a Mac Pro with 4 CPUs to dynamic...
authoreddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 13 Oct 2007 23:01:57 +0000 (23:01 +0000)
committereddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 13 Oct 2007 23:01:57 +0000 (23:01 +0000)
commit28b197219fe781529c60d1f445b8b3a1de0d19b4
tree154fc3f99b67ddcd13b8a9cba63979596e6da5a0
parentd0d6cd009d8b2767874d266102dd86f87f711443
Change the fifo size from being statically tuned for a Mac Pro with 4 CPUs to dynamically adjust according to how many processors are available. 8 extra buffers in the fifo per CPU available. Hopefully this will make the single CPU systems run at pretty much the same speed as before (although they may still be slower if they are low on memory and start thrashing the pager).

git-svn-id: svn://localhost/HandBrake/trunk@1023 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/work.c