From: Rich Felker Date: Tue, 8 Mar 2011 08:41:05 +0000 (-0500) Subject: fix and optimize non-default-type mutex behavior X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=4820f9268d3dc1f2aac923de0a591ffd5d54ea89;hp=4820f9268d3dc1f2aac923de0a591ffd5d54ea89 fix and optimize non-default-type mutex behavior problem 1: mutex type from the attribute was being ignored by pthread_mutex_init, so recursive/errorchecking mutexes were never being used at all. problem 2: ownership of recursive mutexes was not being enforced at unlock time. ---