[openstack-dev] Question about locking

Rosa, Andrea (HP Cloud Services) andrea.rosa at hp.com
Wed Jun 26 17:07:20 UTC 2013


Hi all,

What happens if a greenthread, after acquiring a lock  (not external), it dies?
For example: 
A thread is performing the "do_terminate_instance", it has the lock and before terminating the process it dies,  what happens at the lock?
Is that released in some way?
If  not I think that all other actions for that instance are blocked waiting for the lock, is that correct?

Regards
--
Andrea




More information about the OpenStack-dev mailing list