Branch: Tag:

2003-04-01

2003-04-01 19:41:13 by Martin Stjernholm <mast@lysator.liu.se>

Better checking of error return codes from various thread functions. Added
-dT to enable error checking mutexes in the thread library (--with-rtldebug
is _not_ required).

Rev: man/pike.1:1.17
Rev: src/acconfig.h:1.123
Rev: src/aclocal.m4:1.68
Rev: src/configure.in:1.713
Rev: src/main.c:1.171
Rev: src/main.h:1.22
Rev: src/pike_threadlib.h:1.39
Rev: src/threads.c:1.214

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: acconfig.h,v 1.122 2003/03/29 01:45:22 mast Exp $ + || $Id: acconfig.h,v 1.123 2003/04/01 19:41:13 mast Exp $   */      #ifndef MACHINE_H
417:   /* Define this if your THREAD_T type is a pointer type. */   #undef PIKE_THREAD_T_IS_POINTER    + /* Define to the flag to get an error checking mutex, if supported. */ + #undef PIKE_MUTEX_ERRORCHECK +  + /* Define to the flag to get a recursive mutex, if supported. */ + #undef PIKE_MUTEX_RECURSIVE +    /* Define this if your pthreads have pthread_condattr_default */   #undef HAVE_PTHREAD_CONDATTR_DEFAULT    - /* Define if your pthreads have PTHREAD_MUTEX_RECURSIVE */ - #undef HAVE_PTHREAD_MUTEX_RECURSIVE -  - /* Define if your pthreads have PTHREAD_MUTEX_RECURSIVE_NP */ - #undef HAVE_PTHREAD_MUTEX_RECURSIVE_NP -  +    /* Define this if you need to use &pthread_condattr_default in cond_init() */   #undef HAVE_PTHREAD_CONDATTR_DEFAULT_AIX