source: SVN/cambria/redboot/packages/devs/eth/intel/npe/common/current/src/IxOsalOsThread.c @ 1

Last change on this file since 1 was 1, checked in by Tim Harvey, 2 years ago

restored latest version of files from server backup

Signed-off-by: Tim Harvey <tharvey@…>

File size: 2.4 KB
Line 
1/**
2 * @file IxOsalOsThread.c (eCos)
3 *
4 * @brief OS-specific thread implementation.
5 *
6 *
7 * @par
8 * IXP400 SW Release version 1.5
9 *
10 * -- Intel Copyright Notice --
11 *
12 * @par
13 * Copyright 2002-2004 Intel Corporation All Rights Reserved.
14 *
15 * @par
16 * The source code contained or described herein and all documents
17 * related to the source code ("Material") are owned by Intel Corporation
18 * or its suppliers or licensors.  Title to the Material remains with
19 * Intel Corporation or its suppliers and licensors.
20 *
21 * @par
22 * The Material is protected by worldwide copyright and trade secret laws
23 * and treaty provisions. No part of the Material may be used, copied,
24 * reproduced, modified, published, uploaded, posted, transmitted,
25 * distributed, or disclosed in any way except in accordance with the
26 * applicable license agreement .
27 *
28 * @par
29 * No license under any patent, copyright, trade secret or other
30 * intellectual property right is granted to or conferred upon you by
31 * disclosure or delivery of the Materials, either expressly, by
32 * implication, inducement, estoppel, except in accordance with the
33 * applicable license agreement.
34 *
35 * @par
36 * Unless otherwise agreed by Intel in writing, you may not remove or
37 * alter this notice or any other notice embedded in Materials by Intel
38 * or Intel's suppliers or licensors in any way.
39 *
40 * @par
41 * For further details, please see the file README.TXT distributed with
42 * this software.
43 *
44 * @par
45 * -- End Intel Copyright Notice --
46 */
47
48#include "IxOsal.h"
49
50/* Thread attribute is ignored */
51PUBLIC IX_STATUS
52ixOsalThreadCreate (IxOsalThread * ptrTid,
53    IxOsalThreadAttr * threadAttr, IxOsalVoidFnVoidPtr entryPoint, void *arg)
54{
55    return IX_SUCCESS;
56}
57
58/*
59 * Start thread after given its thread handle
60 */
61PUBLIC IX_STATUS
62ixOsalThreadStart (IxOsalThread * tId)
63{
64    /* Thread already started upon creation */
65    return IX_SUCCESS;
66}
67
68/*
69 * In Linux threadKill does not actually destroy the thread,
70 * it will stop the signal handling.
71 */
72PUBLIC IX_STATUS
73ixOsalThreadKill (IxOsalThread * tid)
74{
75    return IX_SUCCESS;
76}
77
78PUBLIC void
79ixOsalThreadExit (void)
80{
81}
82
83PUBLIC IX_STATUS
84ixOsalThreadPrioritySet (IxOsalOsThread * tid, UINT32 priority)
85{
86    return IX_SUCCESS;
87}
88
89PUBLIC IX_STATUS
90ixOsalThreadSuspend (IxOsalThread * tId)
91{
92    return IX_SUCCESS;
93
94}
95
96PUBLIC IX_STATUS
97ixOsalThreadResume (IxOsalThread * tId)
98{
99    return IX_SUCCESS;
100}
Note: See TracBrowser for help on using the repository browser.