summaryrefslogtreecommitdiffstats
path: root/proxy/examples
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-01-18 11:35:03 -0500
committerSimo Sorce <simo@redhat.com>2012-01-18 11:35:03 -0500
commit6ca28bbf8523713e34ed2a7378e21f23cf64e298 (patch)
tree795e9a23510be415e115bdd488a28c8c507115e2 /proxy/examples
parent1d62ecb4261c30c8312f765f81ad9b4c75334a33 (diff)
downloadgss-proxy-6ca28bbf8523713e34ed2a7378e21f23cf64e298.tar.gz
gss-proxy-6ca28bbf8523713e34ed2a7378e21f23cf64e298.tar.xz
gss-proxy-6ca28bbf8523713e34ed2a7378e21f23cf64e298.zip
Organize workers in free and busy lists
This avoids going through an array to chase free threads, so that assigning work is O(1) instead of O(n). Will also make easier to later change the number of available workers dynamically.
Diffstat (limited to 'proxy/examples')
0 files changed, 0 insertions, 0 deletions