Good morning and greetings from San Diego; I hope this is the right
group to post this request in.
We're using Redhat 7.3, kernel 2.4.20-SMP_i686, glibc 2.2.5. Now,
here's where it gets sticky. We' write custom software to talk to our
machines. In our software, there are several different programs (and
processes) that run. For instance, we have a barcode process, an
inspecter process, a material handling process, etc.
The issue that we're having is that when we start our main program, it
starts all of the sub processes and they get assigned to a processor
at random (dual processors). I need to know, if there is a way to
assign a specific program to a specific process. We're using C++,
gcc-3.2.
Again, we start our main program (which is called ui 'user interface')
and it in turn starts eight different progrrams. I need to be able to
assign these programs to a specific processor. Reason being, when
these programs are running, they pass messages back and forth and on a
dual processor system, our messages are getting clobbered. Of course,
on a single processor system, life is good.
Any help would be great, or you can just point me off in the right
direction. If I can't get some help pretty quick (like within a few
hours) I'm going to have to resort to using a MySQL database for
passing messages around.
Thanks in advance.
-brian