Diff
Not logged in

Differences From Artifact [20f46f013d]:

To Artifact [8fb8088cdc]:


36
37
38
39
40
41
42
43

44
45
46
47
48
49
50
36
37
38
39
40
41
42

43
44
45
46
47
48
49
50







-
+







static pthread_mutex_t initLock = PTHREAD_MUTEX_INITIALIZER;

/*
 * allocLock is used to serialize memory allocation.
 */

static pthread_mutex_t allocLock = PTHREAD_MUTEX_INITIALIZER; 
static Tcl_Mutex allocMutex;
TCL_DECLARE_MUTEX(allocMutex)

/*
 * These are for the critical sections inside this file.
 */

#define MASTER_LOCK	pthread_mutex_lock(&masterLock)
#define MASTER_UNLOCK	pthread_mutex_unlock(&masterLock)