Hi friends,

I seems that i have buggy implementation of pthread_timedjoin_np.

Although linux does not documented this function yet ( see http://www.kernel.org/doc/man-pages/missing_pages.html ), I suspect that on my installation this function does not work properly because it returns sometimes 0, sometimes 110 and does not set errno to ETIMEOUT.


After some googling I still do not know how to get thread status.

As an idea i thought about using the futex() to check memory pointed my thread handle, but I am almost sure this solution (if pthread handle indeed references memory) is dirty, ...

I saw on this list people with experience in thread programming and I am hope for you help.

Cheers,
Lev

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to