From: weiren@cae.ca (Weiren Ding)
Subject: Need help on bind_to_cpu
Date: 1995/05/30 [thread overview]
Message-ID: <1995May30.151032.4460@cae.ca> (raw)
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
reply other threads:[~1995-05-30 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox