C++ TargetRTS
Loading...
Searching...
No Matches
RTThread.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4 * Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5 *
6 * U.S. Government Users Restricted Rights - Use, duplication or
7 * disclosure restricted by GSA ADP Schedule.
8 */
9
10#ifndef __RTThread_h__
11#define __RTThread_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTConfig_h__
18#include <RTConfig.h>
19#endif
20
21class RTJob;
22struct RTThreadInfo;
23
26{
27public:
33 RTThread( RTJob * job, int stackSize, int prio = 0 );
34
35 ~RTThread( void );
36
37protected:
38 RTJob * _job;
39 RTThreadInfo * _info;
40
41private:
42 // unavailable methods
43 RTThread( const RTThread & );
44 RTThread & operator=( const RTThread & );
45}; //lint !e1712
46
47#endif // __RTThread_h__
An object associated with a thread which captures its current state and implements its behavior.
Definition: RTJob.h:43
Represents a thread in the operating system.
Definition: RTThread.h:26
RTThread(RTJob *job, int stackSize, int prio=0)
Create a new thread.