[tor-bugs] #16296 [Onionoo]: Implement lock file in a more robust way

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jul 3 11:16:04 UTC 2015


#16296: Implement lock file in a more robust way
-------------------------+--------------------------
     Reporter:  karsten  |      Owner:
         Type:  defect   |     Status:  needs_review
     Priority:  normal   |  Milestone:
    Component:  Onionoo  |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+--------------------------

Comment (by leeroy):

 I think I might have done something wrong the first time. I obtained a
 file channel then checked the locking and it would allow acquiring an
 exclusive lock, as well as I/O in another JVM. I now open the file using
 the file channel directly and the exclusive locking appears to work.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16296#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list