|
From: Russ F. <rus...@ho...> - 2004-04-26 13:03:47
|
Some general threads advice, use ERRORCHECK_MUTEX to catch general problems like this, irrespective of Valgrind. >On Sun, 25 Apr 2004, Henrik Nordstrom wrote: > > > > In this case, Valgrind's pthread_cond_wait return EINVAL... is this >right? > > > > EPERM is probably more appropriate. And SUSv3 seems to agree with me > > here.. (see below) > >I've committed a change to do this. Thanks for the clarification. And >I'll use the SUSv3 docs rather than man pages for such questions in the >future! > _________________________________________________________________ Test your Travel Quotient and get the chance to win your dream trip! http://travel.msn.com |
|
From: Alberto A. <al...@gg...> - 2004-04-26 13:20:33
|
Where can I get more info on ERRORCHECK_MUTEX? Thanks, Alberto On Mon, 2004-04-26 at 08:03, Russ Fink wrote: > Some general threads advice, use ERRORCHECK_MUTEX to catch general problems > like this, irrespective of Valgrind. > > >On Sun, 25 Apr 2004, Henrik Nordstrom wrote: > > > > > > In this case, Valgrind's pthread_cond_wait return EINVAL... is this > >right? > > > > > > EPERM is probably more appropriate. And SUSv3 seems to agree with me > > > here.. (see below) > > > >I've committed a change to do this. Thanks for the clarification. And > >I'll use the SUSv3 docs rather than man pages for such questions in the > >future! > > > > _________________________________________________________________ > Test your Travel Quotient and get the chance to win your dream trip! > http://travel.msn.com > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek > For a limited time only, get FREE Ground shipping on all orders of $35 > or more. Hurry up and shop folks, this offer expires April 30th! > http://www.thinkgeek.com/freeshipping/?cpg=12297 > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users -- Alberto Alonso Global Gate Systems LLC. (512) 260-2523 http://www.ggsys.net Hardware, consulting, collocation, monitoring and remote backups |
|
From: Henrik N. <hn...@ma...> - 2004-04-26 14:38:04
|
On Mon, 26 Apr 2004, Alberto Alonso wrote: > Where can I get more info on ERRORCHECK_MUTEX? man pthread_mutex_init Note: This is an extension in Linux pthreads, not part of the official standard. If your code is meant to be portable then you want a define to turn on/off the use of this. In the standard the error checking is optional, and this instructs Linux pthreads to perform all error checking with the default of no (or almost none) error checking. Regards Henrik |