Implement vararg support for s390. Minor fix to atomic operation for s390.
[mono.git] / mono / io-layer / thread-private.h
blob93a38f21d5249dfd1e77d8c296e686927bd40a9c
1 /*
2 * thread-private.h: Private definitions for thread handles
4 * Author:
5 * Dick Porter (dick@ximian.com)
7 * (C) 2002 Ximian, Inc.
8 */
10 #ifndef _WAPI_THREAD_PRIVATE_H_
11 #define _WAPI_THREAD_PRIVATE_H_
13 #include <config.h>
14 #include <glib.h>
16 #include <mono/io-layer/timed-thread.h>
18 extern struct _WapiHandleOps _wapi_thread_ops;
20 typedef enum {
21 THREAD_STATE_START,
22 THREAD_STATE_EXITED
23 } WapiThreadState;
25 struct _WapiHandle_thread
27 WapiThreadState state;
28 guint32 exitstatus;
29 gpointer process_handle;
32 struct _WapiHandlePrivate_thread
34 TimedThread *thread;
35 gboolean joined;
38 gboolean _wapi_thread_apc_pending (gpointer handle);
39 gboolean _wapi_thread_cur_apc_pending (void);
40 gboolean _wapi_thread_dispatch_apc_queue (gpointer handle);
43 #endif /* _WAPI_THREAD_PRIVATE_H_ */