Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is pthread_mutex initialized in one

Status
Not open for further replies.

konsri

Programmer
Feb 1, 2002
13
0
0
US
Is pthread_mutex initialized in one thread can be used in other threads to lock? Any other additional steps needed to inherit the handles in the other threads? I'm getting EINVAL error in a thread when i'm trying to lock the mutex which was initialized in deifferent thread.

Thanks
Srikanth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top