1 /* |
1 /* |
2 * ============================================================================== |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * Name : pthread.h |
3 * All rights reserved. |
4 * Part of : pthread |
4 * This component and the accompanying materials are made available |
5 * Interface : POSIX, pthread |
5 * under the terms of "Eclipse Public License v1.0" |
6 * Description : POSIX thread exported header file |
6 * which accompanies this distribution, and is available |
7 * Version : |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 |
8 * |
9 Copyright © 2005-2006 Nokia Corporation |
9 * Initial Contributors: |
10 All rights reserved. |
10 * Nokia Corporation - initial contribution. |
11 * © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved. |
11 * |
12 Redistribution and use in source and binary forms, with or without |
12 * Contributors: |
13 modification, are permitted provided that the following conditions are met: |
13 * |
14 * Redistributions of source code must retain the above copyright notice, this |
14 * Description: POSIX thread exported header file |
15 list of conditions and the following disclaimer. |
15 * |
16 * Redistributions in binary form must reproduce the above copyright notice, |
16 */ |
17 this list of conditions and the following disclaimer in the documentation |
17 |
18 and/or other materials provided with the distribution. |
|
19 * Neither the name of the <ORGANIZATION> nor the names of its contributors |
|
20 may be used to endorse or promote products derived from this software |
|
21 without specific prior written permission. |
|
22 |
|
23 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
|
24 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|
25 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
|
26 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE |
|
27 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|
28 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
|
29 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
|
30 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
|
31 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
32 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
33 * ============================================================================== |
|
34 */ |
|
35 #ifndef PTHREAD_H |
18 #ifndef PTHREAD_H |
36 #define PTHREAD_H |
19 #define PTHREAD_H |
37 |
20 |
38 #include <pthreadtypes.h> |
21 #include <pthreadtypes.h> |
39 #include <sched.h> |
22 #include <sched.h> |