Optimize pthread_mutex_init and pthread_rwlock_init
Use __builtin_memset to init pthread_mutex_t and pthread_rwlock_t.
Issue: #I7MIQ5
Test: libctest, benchmark
Signed-off-by: Nlitao <litao@kaihong.com>
Change-Id: I5744c6cf27e9deff551f20b3dd663648420b4330
Showing
想要评论请 注册 或 登录