cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wido <...@git.apache.org>
Subject [GitHub] cloudstack pull request: kvm: Aqcuire lock when running security g...
Date Thu, 28 Apr 2016 08:16:56 GMT
Github user wido commented on the pull request:

    https://github.com/apache/cloudstack/pull/1408#issuecomment-215346544
  
    @rhtyd: I tested and you are partially right. My test script: https://gist.github.com/wido/a236e9f065cef85b0497990e3d4798e6
    
    When using the 'with open() as X' syntax it doesn't work. My Gist however does if I run
it twice:
    
    In **terminal #1**:
    <pre>wido@wido-desktop:~/Desktop$ ./lock-test.py 
    Obtained lock</pre>
    
    In **terminal #2**:
    <pre>wido@wido-desktop:~/Desktop$ ./lock-test.py 
    Failed to obtain lock!
    wido@wido-desktop:~/Desktop$</pre>
    
    I updated the PR again with this change.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message