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 {
|
typedef struct {
|
||||||
void *(*entry)(void *);
|
void *(*thread_entry)(void *);
|
||||||
} posix_initialization_threads_table;
|
} posix_initialization_threads_table;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void *(*entry)(void *);
|
void *(*thread_entry)(void *);
|
||||||
} posix_initialization_threads_table;
|
} posix_initialization_threads_table;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ void _POSIX_Threads_Initialize_user_threads( void )
|
|||||||
status = pthread_create(
|
status = pthread_create(
|
||||||
&thread_id,
|
&thread_id,
|
||||||
&attr,
|
&attr,
|
||||||
user_threads[ index ].entry,
|
user_threads[ index ].thread_entry,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
assert( !status );
|
assert( !status );
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void *(*entry)(void *);
|
void *(*thread_entry)(void *);
|
||||||
} posix_initialization_threads_table;
|
} posix_initialization_threads_table;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ void _POSIX_Threads_Initialize_user_threads( void )
|
|||||||
status = pthread_create(
|
status = pthread_create(
|
||||||
&thread_id,
|
&thread_id,
|
||||||
&attr,
|
&attr,
|
||||||
user_threads[ index ].entry,
|
user_threads[ index ].thread_entry,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
assert( !status );
|
assert( !status );
|
||||||
|
|||||||
Reference in New Issue
Block a user