• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pthread_join
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pthread_join


  • Subject: Re: pthread_join
  • From: Marc Van Olmen <email@hidden>
  • Date: Thu, 9 Sep 2004 15:42:05 -0400

Matt,

you were absolute right,

i was using CAPThread.h, and by default it created a detached thread....
I should have checked the result pthread_join, so my mistake...

sorry for bandwidth,

mvo


On Sep 9, 2004, at 2:31 PM, Matt Watson wrote:

I still don't understand why the pthread_join doesn't work..

What's the return value from the pthread_join() call? Is the thread detached? That's the most common reason pthread_join() returns non-zero.


Can you post a small, compilable example of this problem? Without a self-contained test case, it's going to be difficult to answer your question...

matt.
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


References: 
 >pthread_join (From: Marc Van Olmen <email@hidden>)
 >Re: pthread_join (From: Marc Van Olmen <email@hidden>)
 >Re: pthread_join (From: Matt Watson <email@hidden>)

  • Prev by Date: Re: pthread_join
  • Next by Date: Re: pthread_join
  • Previous by thread: Re: pthread_join
  • Next by thread: Re: pthread_join
  • Index(es):
    • Date
    • Thread