diff options
author | Simo Sorce <simo@redhat.com> | 2012-01-18 11:35:03 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-01-18 11:35:03 -0500 |
commit | 6ca28bbf8523713e34ed2a7378e21f23cf64e298 (patch) | |
tree | 795e9a23510be415e115bdd488a28c8c507115e2 /proxy/src/gp_socket.c | |
parent | 1d62ecb4261c30c8312f765f81ad9b4c75334a33 (diff) | |
download | gss-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/src/gp_socket.c')
0 files changed, 0 insertions, 0 deletions