comparison packages/kernel/current/include/bitmap.hxx @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents 3111d98ba7b3
children c38311975d4f
comparison
equal deleted inserted replaced
1:72f549f0d891 2:443894e2e912
1 #ifndef CYGONCE_KERNEL_BITMAP_HXX 1 #ifndef CYGONCE_KERNEL_BITMAP_HXX
2 #define CYGONCE_KERNEL_BITMAP_HXX 2 #define CYGONCE_KERNEL_BITMAP_HXX
3 3
4 //========================================================================== 4 //==========================================================================
5 // 5 //
6 // bitmap.hxx 6 // bitmap.hxx
7 // 7 //
8 // Bitmap scheduler class declaration(s) 8 // Bitmap scheduler class declaration(s)
9 // 9 //
10 //========================================================================== 10 //==========================================================================
11 //####COPYRIGHTBEGIN#### 11 //####COPYRIGHTBEGIN####
12 // 12 //
13 // ------------------------------------------- 13 // -------------------------------------------
23 // 23 //
24 // The Original Code is eCos - Embedded Cygnus Operating System, released 24 // The Original Code is eCos - Embedded Cygnus Operating System, released
25 // September 30, 1998. 25 // September 30, 1998.
26 // 26 //
27 // The Initial Developer of the Original Code is Cygnus. Portions created 27 // The Initial Developer of the Original Code is Cygnus. Portions created
28 // by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. 28 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
29 // ------------------------------------------- 29 // -------------------------------------------
30 // 30 //
31 //####COPYRIGHTEND#### 31 //####COPYRIGHTEND####
32 //========================================================================== 32 //==========================================================================
33 //#####DESCRIPTIONBEGIN#### 33 //#####DESCRIPTIONBEGIN####
34 // 34 //
35 // Author(s): nickg 35 // Author(s): nickg
36 // Contributors: nickg 36 // Contributors: nickg
37 // Date: 1997-09-10 37 // Date: 1997-09-10
38 // Purpose: Define bitmap scheduler implementation 38 // Purpose: Define bitmap scheduler implementation
39 // Description: The classes defined here are used as base classes 39 // Description: The classes defined here are used as base classes
40 // by the common classes that define schedulers and thread 40 // by the common classes that define schedulers and thread
41 // things. 41 // things.
42 // Usage: Included according to configuration by 42 // Usage: Included according to configuration by
43 // <cyg/kernel/sched.hxx> 43 // <cyg/kernel/sched.hxx>
44 // 44 //
138 138
139 Cyg_SchedThread_Implementation(CYG_ADDRWORD sched_info); 139 Cyg_SchedThread_Implementation(CYG_ADDRWORD sched_info);
140 140
141 void yield(); // Yield CPU to next thread 141 void yield(); // Yield CPU to next thread
142 142
143 // These are not applicable in a bitmap scheduler; placeholders:
144 inline void rotate_queue( cyg_priority pri ) { };
145 inline void to_queue_head( void ) { };
143 }; 146 };
144 147
145 // ------------------------------------------------------------------------- 148 // -------------------------------------------------------------------------
146 // Thread queue implementation. 149 // Thread queue implementation.
147 // This class provides the (scheduler specific) implementation of the 150 // This class provides the (scheduler specific) implementation of the