remove busy-wait so that swift client won't use up all CPU cycles
remove busy-wait so that swift client won't use up all CPU cycles

The current implementation uses busy-wait and checking flags to
communicate between threads. It wastes a lot of CPU powers. With
python 2.6 is required for Swift, the communication between
threads should now be using queue and signal mechanisms. This
patch removed the busy-wait loops and use queue and queue join
for threads coordination which will not consume CPU cycles if
a thread is blocked.

Change-Id: I648cd637a92a159d5c13baa83f357cee2dfe7937

zackmdavis/python-swiftclient,iostackproject/IO-Bandwidth-Differentiation-Client,openstack/python-swiftclient,sohonetlabs/python-swiftclient,iostackproject/IO-Bandwidth-Differentiation-Client,sohonetlabs/python-swiftclient,VyacheslavHashov/python-swiftclient,jeseem/python-swiftclient,ironsmile/python-swiftclient,citrix-openstack-build/python-swiftclient,varunarya10/python-swiftclient,varunarya10/python-swiftclient,JioCloud/python-swiftclient,zackmdavis/python-swiftclient,ironsmile/python-swiftclient,openstack/python-swiftclient,krnflake/python-hubicclient,citrix-openstack/build-python-swiftclient,citrix-openstack/build-python-swiftclient,pratikmallya/python-swiftclient,JioCloud/python-swiftclient,pratikmallya/python-swiftclient,jeseem/python-swiftclient,citrix-openstack/build-python-swiftclient,VyacheslavHashov/python-swiftclient,citrix-openstack-build/python-swiftclient