[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #8607 [Stem]: Controller's cache isn't thread safe
#8607: Controller's cache isn't thread safe
-----------------------------+----------------------------------------------
Reporter: atagar | Owner: atagar
Type: defect | Status: needs_review
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: controller easy | Parent:
Points: | Actualpoints:
-----------------------------+----------------------------------------------
Changes (by axitkhurana):
* status: new => needs_review
Comment:
I've tried to make cache requests thread safe. Please take a look here:
https://github.com/axitkhurana/stem/commit/7384db06fe1167db3978262e5dfbac4720d689a6
Two functions created:
for reads: _get_cache
for writes: _update_cache
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8607#comment:1>
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