blob: cd2cecc98bca6b52a6b02e6518cc1ef398dbd9c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include "pthread_impl.h"
int pthread_condattr_setclock(pthread_condattr_t *a, clockid_t clk)
{
if (clk < 0 || clk-2U < 2) return EINVAL;
*a &= 0x80000000;
*a |= clk;
return 0;
}
|