* Need help on bind_to_cpu
@ 1995-05-30 4:00 Weiren Ding
0 siblings, 0 replies; only message in thread
From: Weiren Ding @ 1995-05-30 4:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-05-30 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-30 4:00 Need help on bind_to_cpu Weiren Ding
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox