Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - pthread_cond_broadcast failed: (1 Item)
   
pthread_cond_broadcast failed  
Hello Experts,

actually we have a problem that sometimes we receive EINVAL calling the pthread_cond_broadcast function.

The conditional variable parameter was initialized with PTHREAD_COND_INITIALIZER call and used later with the following 
functions:

pthread_cond_wait,
pthread_cond_timedwait.

The last time it was possible to make the pthread_cond_t parameter hex dump when the EINVAL was returned:

0x00 0x00 0x00 0x00 0xFE 0xFF 0xFF 0xFF
-------------------------  --------------------------
      code                          owner

Could anybody help me on find out the reason of the EINVAL returning and interpret the hexdump. Is it an error?

Thank You In Advance & Best Regards,
Dmitry