Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
Ohh.. its OK. Other Linux guru's please help me if you have any other info....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Dec 2011
    Posts
    21

    Ohh.. its OK.

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

  2. #12
    Just Joined!
    Join Date
    Dec 2011
    Posts
    21
    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.

    Thanks,

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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