blob: b3caae19b10db89121fdcd9f125d079226f64942 [file] [log] [blame]
Wolfgang Denkba94a1b2006-05-30 15:56:48 +02001/**
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 * -- Copyright Notice --
11 *
12 * @par
13 * Copyright 2001-2005, Intel Corporation.
14 * All rights reserved.
15 *
16 * @par
Wolfgang Denkcb3761e2013-07-28 22:12:47 +020017 * SPDX-License-Identifier: BSD-3-Clause
Wolfgang Denkba94a1b2006-05-30 15:56:48 +020018 * @par
19 * -- End of Copyright Notice --
20 */
21
22#include "IxOsal.h"
23
24/* Thread attribute is ignored */
25PUBLIC IX_STATUS
26ixOsalThreadCreate (IxOsalThread * ptrTid,
27 IxOsalThreadAttr * threadAttr, IxOsalVoidFnVoidPtr entryPoint, void *arg)
28{
29 return IX_SUCCESS;
30}
31
32/*
33 * Start thread after given its thread handle
34 */
35PUBLIC IX_STATUS
36ixOsalThreadStart (IxOsalThread * tId)
37{
38 /* Thread already started upon creation */
39 return IX_SUCCESS;
40}
41
42/*
43 * In Linux threadKill does not actually destroy the thread,
44 * it will stop the signal handling.
45 */
46PUBLIC IX_STATUS
47ixOsalThreadKill (IxOsalThread * tid)
48{
49 return IX_SUCCESS;
50}
51
52PUBLIC void
53ixOsalThreadExit (void)
54{
55}
56
57PUBLIC IX_STATUS
58ixOsalThreadPrioritySet (IxOsalOsThread * tid, UINT32 priority)
59{
60 return IX_SUCCESS;
61}
62
63PUBLIC IX_STATUS
64ixOsalThreadSuspend (IxOsalThread * tId)
65{
66 return IX_SUCCESS;
67
68}
69
70PUBLIC IX_STATUS
71ixOsalThreadResume (IxOsalThread * tId)
72{
73 return IX_SUCCESS;
74}