pthread: implement mutexattr functions
redis (jemalloc to be precise) actually expects that functions to succeed. Returning -1 here means it will not initialize correctly its memory allocator. This simple implementation just stores the desired value, but does not change anything in the underlying mutex. Signed-off-by:Glauber Costa <glommer@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
Please register or sign in to comment