9 Jun
2004
9 Jun
'04
16:01
Hi Andi, Sorry, but on my SUSE installation, getpid() returns the same pid which means the thread library has set CLONE_PID to the clone() system call. Linux torc13 2.6.4-54.5-default #1 Fri May 7 16:47:49 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux pid 6546, thread 407ff970, recvbuf at 0x2a959a3010 104857600 pid 6546, thread 40fff970, sendbuf at 0x2a9bda5010 104857600 On these systems, the threads have different tids, accessed via the gettid sys call (which has no prototype) or pthread_self. But I'm still not sure how to use them with sched_setaf.. Phil