projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more changes...think it is done...just need to wire it in to the build...
[IRC.git]
/
Robust
/
src
/
Runtime
/
affinity.h
diff --git
a/Robust/src/Runtime/affinity.h
b/Robust/src/Runtime/affinity.h
index cf96be8829bfda869a24885458f21c61a7044d27..b576b7bda726ce0da07f6f3a51cd2c7bbde60a20 100644
(file)
--- a/
Robust/src/Runtime/affinity.h
+++ b/
Robust/src/Runtime/affinity.h
@@
-11,7
+11,7
@@
static void set_affinity(unsigned long cpu) {
CPU_ZERO(&cpumask);
CPU_SET(cpu, &cpumask);
err = sched_setaffinity(syscall(SYS_gettid),
- sizeof(cpu_set_t), &cpumask);
+
sizeof(cpu_set_t), &cpumask);
if (err == -1)
printf("set_affinity: %s\n", strerror(errno));