2001:11:13 Gaurav Vaish <gvaish@iitk.ac.in>
[mono.git] / mono / metadata / threads-types.h
1 /*
2  * threads-types.h: Generic thread typedef support (includes
3  * system-specific files)
4  *
5  * Author:
6  *      Dick Porter (dick@ximian.com)
7  *
8  * (C) 2001 Ximian, Inc
9  */
10
11 #ifndef _MONO_METADATA_THREADS_TYPES_H_
12 #define _MONO_METADATA_THREADS_TYPES_H_
13
14 #include <config.h>
15
16 #ifdef HAVE_PTHREAD
17 #include <mono/metadata/threads-pthread-types.h>
18 #else
19 #warning "No thread support found!"
20 #include <mono/metadata/threads-dummy-types.h>
21 #endif
22
23 extern void mono_threads_synchronisation_init(MonoThreadsSync *);
24 extern void mono_threads_synchronisation_free(MonoThreadsSync *);
25
26 #endif /* _MONO_METADATA_THREADS_TYPES_H_ */