Yes, is true. You answer a question, I another.
Best regards.
Type: Posts; User: oteros
Yes, is true. You answer a question, I another.
Best regards.
Well,
A simple way to do this is read the /proc/....BLA...BLA/ directories to locate each CPU, because each CPU in system have they proper /proc/.. directory: I don't remember now how...
You must think on MP even any number on machine nucleus. You will take advantage over machine waits. Y you want a isolates processes, you must use fork. If you only want a background processes, best...
Hello.
When you pthread a function, you stay in same 'main' process, but under different 'process-id'. So, you share all resources between processes. A new 'pthreaded process' is not the chidren of...
When all the processors are in same computer, obviusly use of lock tecnics is preferable, but if processors resides in differents computer, I think that the stuff is not a stuff and the db solution...
Use a DBMS instead a regular file. (FireBird, by example).
One procesor own the DBMS, and the others CONNECT to a Data Base via network or locally via localhost. Using SQL calls you can read/ from...
Hi!
I'm actually developing a C routines (linux) that uses mutexes (up to 256) in shared memory to control up to 255 shared memory segments. If interested today how solve situations about these...