blob: abaea7c7027d685348c2b74671d198be36a5d84c (
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;
#if !defined(_MSC_VER) && defined(__cplusplus)
Pthread_exception pthread_exception;
#endif
/*
* Global lock for testing internal state of PTHREAD_MUTEX_INITIALIZER
* created mutexes.
*/
CRITICAL_SECTION _pthread_mutex_test_init_lock;
|