]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (c) 2000-2013 Apple Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
6 | * This file contains Original Code and/or Modifications of Original Code | |
7 | * as defined in and that are subject to the Apple Public Source License | |
8 | * Version 2.0 (the 'License'). You may not use this file except in | |
9 | * compliance with the License. Please obtain a copy of the License at | |
10 | * http://www.opensource.apple.com/apsl/ and read it before using this | |
11 | * file. | |
12 | * | |
13 | * The Original Code and all software distributed under the License are | |
14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | |
16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. | |
18 | * Please see the License for the specific language governing rights and | |
19 | * limitations under the License. | |
20 | * | |
21 | * @APPLE_LICENSE_HEADER_END@ | |
22 | */ | |
23 | /* | |
24 | * Copyright 1996 1995 by Open Software Foundation, Inc. 1997 1996 1995 1994 1993 1992 1991 | |
25 | * All Rights Reserved | |
26 | * | |
27 | * Permission to use, copy, modify, and distribute this software and | |
28 | * its documentation for any purpose and without fee is hereby granted, | |
29 | * provided that the above copyright notice appears in all copies and | |
30 | * that both the copyright notice and this permission notice appear in | |
31 | * supporting documentation. | |
32 | * | |
33 | * OSF DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE | |
34 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
35 | * FOR A PARTICULAR PURPOSE. | |
36 | * | |
37 | * IN NO EVENT SHALL OSF BE LIABLE FOR ANY SPECIAL, INDIRECT, OR | |
38 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | |
39 | * LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT, | |
40 | * NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION | |
41 | * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
42 | * | |
43 | */ | |
44 | /* | |
45 | * MkLinux | |
46 | */ | |
47 | ||
48 | /* | |
49 | * POSIX Threads - IEEE 1003.1c | |
50 | */ | |
51 | ||
52 | #ifndef _POSIX_PTHREAD_INTERNALS_H | |
53 | #define _POSIX_PTHREAD_INTERNALS_H | |
54 | ||
55 | #ifndef PTHREAD_LAYOUT_SPI | |
56 | #define PTHREAD_LAYOUT_SPI 1 | |
57 | #endif | |
58 | ||
59 | #include <TargetConditionals.h> | |
60 | ||
61 | #if TARGET_IPHONE_SIMULATOR | |
62 | #error Unsupported target | |
63 | #endif | |
64 | ||
65 | #include "types_internal.h" // has to come first as it hides the SDK types | |
66 | #include "offsets_internal.h" // included to validate the offsets at build time | |
67 | ||
68 | #include <_simple.h> | |
69 | #include <platform/string.h> | |
70 | #include <platform/compat.h> | |
71 | ||
72 | #include <sys/ulock.h> | |
73 | #include <sys/reason.h> | |
74 | ||
75 | #include <os/alloc_once_private.h> | |
76 | #include <os/atomic_private.h> | |
77 | #include <os/crashlog_private.h> | |
78 | #include <os/lock_private.h> | |
79 | #include <os/overflow.h> | |
80 | #include <os/reason_private.h> | |
81 | #include <os/semaphore_private.h> | |
82 | ||
83 | #include <pthread/bsdthread_private.h> | |
84 | #include <pthread/workqueue_syscalls.h> | |
85 | ||
86 | #include "pthread.h" | |
87 | #include "pthread_spis.h" | |
88 | #include "pthread/private.h" | |
89 | #include "pthread/dependency_private.h" | |
90 | #include "pthread/spinlock_private.h" | |
91 | #include "pthread/workqueue_private.h" | |
92 | #include "pthread/introspection_private.h" | |
93 | #include "pthread/qos_private.h" | |
94 | #include "pthread/tsd_private.h" | |
95 | #include "pthread/stack_np.h" | |
96 | ||
97 | #include "imports_internal.h" | |
98 | #include "prototypes_internal.h" | |
99 | #include "exports_internal.h" | |
100 | #include "inline_internal.h" | |
101 | ||
102 | #include "pthread.h" | |
103 | #include "pthread_spis.h" | |
104 | #include "inline_internal.h" | |
105 | #include "kern/kern_internal.h" | |
106 | ||
107 | ||
108 | #endif /* _POSIX_PTHREAD_INTERNALS_H */ |