提交 5e9e78ec 编写于 作者: R Rich Felker

convert the barrier pshared option back to 0/1 values when getting it

上级 7e760951
......@@ -2,6 +2,6 @@
int pthread_barrierattr_getpshared(const pthread_barrierattr_t *a, int *pshared)
{
*pshared = *a;
*pshared = !!*a;
return 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册