projects
/
linux-drm-fsl-dcu.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branches 'pm-cpufreq', 'pm-cpuidle', 'pm-devfreq', 'pm-opp' and 'pm-tools'
[linux-drm-fsl-dcu.git]
/
tools
/
perf
/
config
/
feature-checks
/
test-pthread-attr-setaffinity-np.c
1
#include <stdint.h>
2
#include <pthread.h>
3
4
int main(void)
5
{
6
int ret = 0;
7
pthread_attr_t thread_attr;
8
9
pthread_attr_init(&thread_attr);
10
/* don't care abt exact args, just the API itself in libpthread */
11
ret = pthread_attr_setaffinity_np(&thread_attr, 0, NULL);
12
13
return ret;
14
}