Implement vararg support for s390. Minor fix to atomic operation for s390.
[mono.git] / mono / io-layer / semaphore-private.h
blob97d8340d0a6c879df46cbee047f14c4589c6cae8
1 /*
2 * semaphore-private.h: Private definitions for semaphore handles
4 * Author:
5 * Dick Porter (dick@ximian.com)
7 * (C) 2002 Ximian, Inc.
8 */
10 #ifndef _WAPI_SEMAPHORE_PRIVATE_H_
11 #define _WAPI_SEMAPHORE_PRIVATE_H_
13 #include <config.h>
14 #include <glib.h>
16 extern struct _WapiHandleOps _wapi_sem_ops;
18 /* emulate sem_t, so that we can prod the internal state more easily */
19 struct _WapiHandle_sem
21 guint32 val;
22 gint32 max;
25 struct _WapiHandlePrivate_sem
27 int dummy;
30 #endif /* _WAPI_SEMAPHORE_PRIVATE_H_ */