diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-01-08 16:19:47 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-01-08 16:19:47 +0000 |
commit | 0d051533b9ff3b24e1b657c8a433cf6f4ae68e17 (patch) | |
tree | b6a73c1a4421bc08b517983933d5232ff30f94a8 /cpukit/score/include/rtems | |
parent | Suggested changes from Mark Jordan which eliminate warnings and errors (diff) | |
download | rtems-0d051533b9ff3b24e1b657c8a433cf6f4ae68e17.tar.bz2 |
added type definitions for all supported task entry formats
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index b4b74dd344..c157f9b712 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -53,7 +53,12 @@ typedef enum { THREAD_START_BOTH_NUMERIC_FIRST } Thread_Start_types; -typedef Thread ( *Thread_Entry )( ); +typedef Thread ( *Thread_Entry )(); /* basic type */ + +typedef Thread ( *Thread_Entry_numeric )( unsigned32 ); +typedef Thread ( *Thread_Entry_pointer )( void * ); +typedef Thread ( *Thread_Entry_both_pointer_first )( void *, unsigned32 ); +typedef Thread ( *Thread_Entry_both_numeric_first )( unsigned32, void * ); /* * The following lists the algorithms used to manage the thread cpu budget. |