Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Good reasons for pthread_spin_init() failure with EBUSY?: Page 1 of 5 (5 Items)
   
Good reasons for pthread_spin_init() failure with EBUSY?  
hi

I have a sporadic failing pthread_spin_init() with errno=EBUSY, where the spinner is located in a piece of ram to be 
shared with another process (PTHREAD_PROCESS_SHARED flag is used, for this reason).

Can you tell me the possible reason for EBUSY error?

By the way: I 0-memset the spinner area right before calling pthread_spin_init().

thanks!
Davide