commit | 6da5418ded9170b087c35960e0010006430117c1 | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Fri Mar 23 18:05:51 2012 -0700 |
committer | Jason Evans <je@fb.com> | Fri Mar 23 18:05:51 2012 -0700 |
tree | 8f8b14dbcc8bd3e367a504b9ae0c9574818a7532 | |
parent | b80581d30928e04b3d12b1fec2b989da44a07e2c [diff] |
Remove ephemeral mutexes. Remove ephemeral mutexes from the prof machinery, and remove malloc_mutex_destroy(). This simplifies mutex management on systems that call malloc()/free() inside pthread_mutex_{create,destroy}(). Add atomic_*_u() for operation on unsigned values. Fix prof_printf() to call malloc_vsnprintf() rather than malloc_snprintf().