Fix multilock concurrency when shared by > 1 threads
Instead of raising thread errors when another thread
has locks that the consuming thread wants to use just
block and wait and release the correct locks on release
to match the expected vs observed behavior.
This makes it so that a single multilock object can be
shared by many threads and each thread using the object
will correctly obtain and release as expected...
Reviewed: https:/ /review. openstack. org/122887 /git.openstack. org/cgit/ openstack/ taskflow/ commit/ ?id=83690a20863 702c3bcebc042d2 edefe7161062a8
Committed: https:/
Submitter: Jenkins
Branch: master
commit 83690a20863702c 3bcebc042d2edef e7161062a8
Author: Joshua Harlow <email address hidden>
Date: Fri Sep 19 15:41:45 2014 -0700
Fix multilock concurrency when shared by > 1 threads
Instead of raising thread errors when another thread
has locks that the consuming thread wants to use just
block and wait and release the correct locks on release
to match the expected vs observed behavior.
This makes it so that a single multilock object can be
shared by many threads and each thread using the object
will correctly obtain and release as expected...
Fixes bug 1371814
Change-Id: Ia21a05fe9249fa 019a09c4f30beeb 0770ded5150