blob: bf7455238c76a1779eeb194e9c1d8f3b509fd2c4 (
about) (
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) return EINVAL;
*a &= 0x80000000;
*a |= clk;
return 0;
}
|