blob: ecc3d2773b2205ad8de5f9cbfde6679c16c13ada (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* global.c
*
* Description:
* This translation unit instantiates data associated with the implementation
* as a whole.
*/
#include "pthread.h"
#include "implement.h"
int _pthread_processInitialized = FALSE;
pthread_key_t _pthread_selfThreadKey = NULL;
pthread_key_t _pthread_cleanupKey = NULL;
/*
* Global lock for testing internal state of PTHREAD_MUTEX_INITIALIZER
* created mutexes.
*/
CRITICAL_SECTION _pthread_mutex_test_init_lock;
/*
* Global lock for testing internal state of PTHREAD_COND_INITIALIZER
* created condition variables.
*/
CRITICAL_SECTION _pthread_cond_test_init_lock;
|