@Macnilly,
That is just one of the restraints of the project that I'm working on. I need one process running in the background while it forks and then runs the executables indicated in the command...
Type: Posts; User: rklockow
@Macnilly,
That is just one of the restraints of the project that I'm working on. I need one process running in the background while it forks and then runs the executables indicated in the command...
Okay, I think I understand the reason for ftruncate() a little better now. I have tried what you suggested however I'm still not seeing any changes in the shared memory segment. Any other...
I have a test program here that conveys the troubles that I am having with a current project. The intent is to have one "creator" process running, which will set up a shared memory segment. The...
Your usage of strtok() is incorrect. I suggest that you take a look at the man page for the function. Here's a hint: the first parameter of strtok is not the character pointer for subsequent calls...
Just to add to this post:
Instead of returning 0 in these functions, you are better off declaring the return type as 'void'
ex:
void someProcedure (void){
do_something();
...
I believe that if the graph allows for negative weights, then the two algorithms will produce different results.
Hello,
For the past several weeks I have been working on a distributed pipeline project. An invocation of my program looks like:
./MS process1 arg1 arg2 _ process2 arg1 _ process3 arg1...