Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 331 by [email protected]: assoc_maintenance_thread unlocks mutex
without locking first
http://code.google.com/p/memcached/issues/detail?id=331
Checked in memcached-1.4.15.
assoc_maintenance_thread() (assoc.c) has a piece of code with:
slabs_rebalancer_resume();
....
slabs_rebalancer_pause();
The problem is that slabs_rebalancer_resume() is a mutex unlock() operation
- and that is not allowed (the pthread declares its behavior
as "undefined") before the mutex is ever locked...
I guess we need to call slabs_rebalancer_pause() in the beginning of
assoc_maintenance_thread()?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.