Results 1 to 3 of 3

Thread: fork

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Posts
    253

    Question fork

    Hello,

    I am programming in Unix and now working with processes. I have a father process that creates some children processes that need to calculate something but I don't know how to return the result to the father process (except of returning it as the exit status which doesn't seem to me like a proper solution).
    Is there another way to do it?

    Thanks.

  2. #2
    jim mcnamara
    Guest
    Use named pipes. Use a file.

    In UNIX, pipes are the defacto standard way to do this.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Posts
    253

    Pipes

    How to do it using pipes?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width