#33092: Add note regarding thread-safety when using PyMemcacheCache.
--------------------------------------+------------------------------------
     Reporter:  Martijn van der Blom  |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Core (Cache system)   |                  Version:  3.2
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by Martijn van der Blom):

 I've tried passing gevent.lock.BoundedSemaphore as a lock_generator, but
 unfortunately that didn't make any difference. As you say, the gevent
 worker already calls monkey.patch_all() that should cause all usages of
 threading.[R]Lock to use the gevent variant. I'm still not sure how to
 proceed. Any further help would be much appreciated.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33092#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.ec480122bc3a47a214a4de387253b995%40djangoproject.com.

Reply via email to