added type definitions for all supported task entry formats

This commit is contained in:
Joel Sherrill
1997-01-08 16:19:47 +00:00
parent ffe316d526
commit 0d051533b9
3 changed files with 18 additions and 3 deletions

View File

@@ -53,7 +53,12 @@ typedef enum {
THREAD_START_BOTH_NUMERIC_FIRST THREAD_START_BOTH_NUMERIC_FIRST
} Thread_Start_types; } 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. * The following lists the algorithms used to manage the thread cpu budget.

View File

@@ -53,7 +53,12 @@ typedef enum {
THREAD_START_BOTH_NUMERIC_FIRST THREAD_START_BOTH_NUMERIC_FIRST
} Thread_Start_types; } 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. * The following lists the algorithms used to manage the thread cpu budget.

View File

@@ -53,7 +53,12 @@ typedef enum {
THREAD_START_BOTH_NUMERIC_FIRST THREAD_START_BOTH_NUMERIC_FIRST
} Thread_Start_types; } 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. * The following lists the algorithms used to manage the thread cpu budget.