Branch: Tag:

2003-04-03

2003-04-03 16:58:36 by Martin Stjernholm <mast@lysator.liu.se>

Backported from 7.5, although slightly less strict: 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: CHANGES:1.85
Rev: man/pike.1:1.17
Rev: src/acconfig.h:1.111
Rev: src/aclocal.m4:1.58
Rev: src/configure.in:1.662
Rev: src/main.c:1.160
Rev: src/main.h:1.21
Rev: src/pike_threadlib.h:1.26
Rev: src/threads.c:1.197

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.110 2003/03/29 01:45:22 mast Exp $ + || $Id: acconfig.h,v 1.111 2003/04/03 16:58:36 mast Exp $   */      #ifndef MACHINE_H
397:   /* Define this if you have Windows NT threads */   #undef NT_THREADS    + /* 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