Branch: Tag:

2000-04-18

2000-04-18 06:54:13 by 0

Always initialize mutex and condition variables before use.

Rev: src/modules/Gdbm/gdbmmod.c:1.9
Rev: src/modules/HTTPLoop/accept_and_parse.c:1.11
Rev: src/modules/HTTPLoop/cache.c:1.8
Rev: src/modules/Msql/msqlmod.c:1.12
Rev: src/modules/Postgres/pgresult.c:1.12
Rev: src/modules/Postgres/postgres.c:1.17
Rev: src/modules/spider/spider.c:1.90
Rev: src/threads.c:1.120
Rev: src/threads.h:1.84

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: gdbmmod.c,v 1.8 1999/06/19 20:20:38 hubbe Exp $"); + RCSID("$Id: gdbmmod.c,v 1.9 2000/04/18 06:53:53 jonasw Exp $");   #include "gdbm_machine.h"   #include "threads.h"   
22:   #include <gdbm.h>      #ifdef _REENTRANT - static MUTEX_T gdbm_lock; + static MUTEX_T gdbm_lock STATIC_MUTEX_INIT;   #endif      struct gdbm_glue