projects
/
deliverable
/
linux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge tag 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux...
[deliverable/linux.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
cpu_set_t cs
;
9
10
pthread_attr_init
(&
thread_attr
);
11
/* don't care abt exact args, just the API itself in libpthread */
12
ret
=
pthread_attr_setaffinity_np
(&
thread_attr
,
sizeof
(
cs
), &
cs
);
13
14
return
ret
;
15
}
This page took
0.052495 seconds
and
5
git commands to generate.