From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b3bcaeba6efc85eb,start X-Google-Attributes: gidfee84,public From: weiren@cae.ca (Weiren Ding) Subject: Need help on bind_to_cpu Date: 1995/05/30 Message-ID: <1995May30.151032.4460@cae.ca>#1/1 X-Deja-AN: 103491024 organization: CAE newsgroups: comp.unix.osf.osf1 Hi, there, I have a problem with bind_to_cpu. It failed on unknown pid. But I did pass the pid through the return of getpid() call. And the failrue only happened to a child process. The parent process calls bind_to_cpu first, after forking, the child attempts to call bind_to_cpu as well, but it fails. I wrote a test program to see whether this mechanism works. It turns the bind_to_cpu() works perfectly for my testing program. So I am wondering what may cause bind_to_cpu to fail, what impact may come from parent process, why bind_to_cpu would fail on unknown pid and indeed the pid is correct. I am searching for solution. It is appreciated if you could give any suggestion and reference. Thank you in advance. Please send your response to the following e-mail address. I am sorry I don't read news very often. weiren@cae.ca Regards, Weiren Ding