Commit 0f19393b authored by Philippe Gerum's avatar Philippe Gerum

boilerplate/hash: drop preposterous PI for locking

parent 4f0a9375
......@@ -102,7 +102,6 @@ void __hash_init(void *heap, struct hash_table *t,
t->compare = compare;
pthread_mutexattr_settype(&mattr, mutex_type_attribute);
pthread_mutexattr_setprotocol(&mattr, PTHREAD_PRIO_INHERIT);
pthread_mutexattr_setpshared(&mattr, mutex_scope_attribute);
__RT(pthread_mutex_init(&t->lock, &mattr));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment