[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #16296 [Onionoo]: Implement lock file in a more robust way
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs