Commit e0d633445008d35848d99ae05f03e8eb5eef4ed4
1 parent
b03e739f
Disable thread pinning
It's probably not good for anything.
Showing
1 changed file
with
2 additions
and
0 deletions
threaddata.cpp
| ... | ... | @@ -60,6 +60,7 @@ void ThreadData::start(thread_f f) |
| 60 | 60 | const char *c_str = name.c_str(); |
| 61 | 61 | pthread_setname_np(native, c_str); |
| 62 | 62 | |
| 63 | + /* | |
| 63 | 64 | cpu_set_t cpuset; |
| 64 | 65 | CPU_ZERO(&cpuset); |
| 65 | 66 | CPU_SET(threadnr, &cpuset); |
| ... | ... | @@ -73,6 +74,7 @@ void ThreadData::start(thread_f f) |
| 73 | 74 | pinned_cpu = j; |
| 74 | 75 | |
| 75 | 76 | logger->logf(LOG_NOTICE, "Thread '%s' pinned to CPU %d", c_str, pinned_cpu); |
| 77 | + */ | |
| 76 | 78 | } |
| 77 | 79 | |
| 78 | 80 | void ThreadData::quit() | ... | ... |