[io-layer] Extract thread MonoW32HandleOps
[mono-project.git] / mono / io-layer / wthreads.c
blob1ecb121ecfea30c8960f2f50eb4832caa4e45b74
1 /*
2 * threads.c: Thread handles
4 * Author:
5 * Dick Porter (dick@ximian.com)
7 * (C) 2002-2006 Ximian, Inc.
8 * Copyright 2003-2011 Novell, Inc (http://www.novell.com)
9 * Copyright 2011 Xamarin, Inc (http://www.xamarin.com)
10 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
13 #include <config.h>
14 #include <stdio.h>
15 #include <glib.h>
16 #include <string.h>
17 #include <pthread.h>
18 #include <sched.h>
19 #include <sys/time.h>
20 #include <errno.h>
21 #include <sys/types.h>
22 #include <unistd.h>
24 #include <mono/io-layer/wapi.h>
25 #include <mono/io-layer/wapi-private.h>
26 #include <mono/io-layer/thread-private.h>
27 #include <mono/io-layer/mutex-private.h>
28 #include <mono/io-layer/io-trace.h>
30 #include <mono/utils/mono-threads.h>
31 #include <mono/utils/atomic.h>
32 #include <mono/utils/mono-time.h>
33 #include <mono/utils/mono-once.h>
34 #include <mono/utils/mono-logger-internals.h>
35 #include <mono/utils/w32handle.h>
37 #ifdef HAVE_VALGRIND_MEMCHECK_H
38 #include <valgrind/memcheck.h>
39 #endif
41 void
42 _wapi_thread_init (void)
46 void
47 _wapi_thread_cleanup (void)