From: Garrett C. <yan...@gm...> - 2010-07-22 15:44:08
|
On Thu, Jul 22, 2010 at 6:31 AM, Cyril Hrubis <ch...@su...> wrote: > Hi! > As pointed out by Cheng Shun Xia <cs...@no...> the > pthread_mutex_getprioceiling() works only on mutexes initalized with > PTHREAD_PRIO_PROTECT. Also calling perror() after pthread_* fuctions is > meaningless as they return error number directly, this is common mistake > in pthread tests in openposix testsuite and should go to the ltp TODO. 1. There are typos in the proposed change (s/Errror/Error/, s/boundry/boundary/). 2. So you're saying that none of the pthread(5) functions provide useful diagnostics, even though the manpages claim they should (in many cases)? That seems like a bug with the pthreads implementation to me... Thanks, -Garrett |