Search:

Type: Posts; User: rklockow

Search: Search took 0.00 seconds.

  1. @Macnilly, That is just one of the restraints of...

    @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...
  2. Okay, I think I understand the reason for...

    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...
  3. accessing shared memory via forked processes

    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...
  4. Your usage of strtok() is incorrect. I suggest...

    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...
  5. Replies
    21
    Views
    3,381

    Just to add to this post: Instead of returning...

    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();
    ...
  6. Replies
    8
    Views
    5,397

    I believe that if the graph allows for negative...

    I believe that if the graph allows for negative weights, then the two algorithms will produce different results.
  7. Pipeline with various forms of IPC, design problem

    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...
Results 1 to 7 of 7