forked from Imagelibrary/rtems
Changed name from entry to thread_entry to be more compatible with
Ada interface where entry is a keyword.
This commit is contained in:
@@ -38,7 +38,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
void *(*entry)(void *);
|
||||
void *(*thread_entry)(void *);
|
||||
} posix_initialization_threads_table;
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -38,7 +38,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
void *(*entry)(void *);
|
||||
void *(*thread_entry)(void *);
|
||||
} posix_initialization_threads_table;
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -265,7 +265,7 @@ void _POSIX_Threads_Initialize_user_threads( void )
|
||||
status = pthread_create(
|
||||
&thread_id,
|
||||
&attr,
|
||||
user_threads[ index ].entry,
|
||||
user_threads[ index ].thread_entry,
|
||||
NULL
|
||||
);
|
||||
assert( !status );
|
||||
|
||||
@@ -38,7 +38,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
void *(*entry)(void *);
|
||||
void *(*thread_entry)(void *);
|
||||
} posix_initialization_threads_table;
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -265,7 +265,7 @@ void _POSIX_Threads_Initialize_user_threads( void )
|
||||
status = pthread_create(
|
||||
&thread_id,
|
||||
&attr,
|
||||
user_threads[ index ].entry,
|
||||
user_threads[ index ].thread_entry,
|
||||
NULL
|
||||
);
|
||||
assert( !status );
|
||||
|
||||
Reference in New Issue
Block a user