Posix Threads and Cpu affinity syscall
Mike-Ro-Chanel <[email protected]> Wed, 18 Feb 2004 12:16:14 +0100
| Newsgroups | gmane.linux.redhat.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, in RH9 Kernel the sched_setaffinity() and sched_getaffinity() system calls are implemented. They have a per-process basis. Now I need to associate a CPU of my SMP to a specific thread (NPTL). This seems impossible because several threads have the same PID. Can anyboby help Me? Thanks. Mike-Ro-Chanel