Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11

    Ohh.. its OK.

    Other Linux guru's please help me if you have any other info.

  2. #12
    Quote Originally Posted by Rubberman View Post
    Oops. I meant to post this reply on another thread... Doh! Sorry...
    Its OK.

    I got the problem.
    the culprit here is the pthread_join after creating the first thread.

    just comment that part it will fail in either one of the threads, thought it is not guaranteed which thread it will be.

    to synchronize with the order we need to change the priority ofthe threads.


Posting Permissions

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