summaryrefslogtreecommitdiffstats
path: root/src/hdf5glob.h
blob: 2fc752dba9da4742ad9dec16c0ff5713ac403722 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/****************************************************************************
 * NCSA HDF                                                                 *
 * Software Development Group                                               *
 * National Center for Supercomputing Applications                          *
 * University of Illinois at Urbana-Champaign                               *
 * 605 E. Springfield, Champaign IL 61820                                   *
 *                                                                          *
 * For conditions of distribution and use, see the accompanying             *
 * hdf/COPYING file.                                                        *
 *                                                                          *
 ****************************************************************************/

/* $Id$ */

/*
 *  Header file for global & thread-specific data
 */

#ifndef HDF5GLOB_H
#define HDF5GLOB_H

/* Library global variables */
/* There should only be a few of these, don't add more unless you have a d*mn good reason! */

#ifndef HDF5_MASTER
extern
#endif /* HDF5_MASTER */
intn library_initialize     /* Whether we've initialized library global information yet */
#ifdef HDF5_MASTER
= FALSE
#endif /* HDF5_MASTER */
;
#ifndef HDF5_MASTER
extern
#endif /* HDF5_MASTER */
intn install_atexit         /* Whether to install the atexit routine */
#ifdef HDF5_MASTER
= TRUE
#endif /* HDF5_MASTER */
;

/* Thread-specific variables */
#ifndef HDF5_MASTER
extern
#endif /* HDF5_MASTER */
intn thread_initialize      /* Whether we've initialized thread global information yet */
#ifdef HDF5_MASTER
= FALSE
#endif /* HDF5_MASTER */
;

#ifndef HDF5_MASTER
extern
#endif /* HDF5_MASTER */
int32 thrderrid;     /* Thread-specific "global" error-handler ID */

#endif /* HDF5GLOB_H */