mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Renamed POSIX_Thread_cancel_run to _POSIX_Thread_cancel_run since RTEMS
internal symbols are supposed to have leading underscores.
This commit is contained in:
@@ -13,14 +13,15 @@ typedef struct {
|
||||
} POSIX_Cancel_Handler_control;
|
||||
|
||||
/*
|
||||
* POSIX_Thread_cancel_run
|
||||
* _POSIX_Thread_cancel_run
|
||||
*
|
||||
* DESCRIPTION:
|
||||
*
|
||||
* XXX
|
||||
* This support routine runs through the chain of cancel handlers that
|
||||
* have been registered and executes them.
|
||||
*/
|
||||
|
||||
void POSIX_Thread_cancel_run(
|
||||
void _POSIX_Thread_cancel_run(
|
||||
Thread_Control *the_thread
|
||||
);
|
||||
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* POSIX_Thread_cancel_run
|
||||
* _POSIX_Thread_cancel_run
|
||||
*
|
||||
*/
|
||||
|
||||
void POSIX_Thread_cancel_run(
|
||||
void _POSIX_Thread_cancel_run(
|
||||
Thread_Control *the_thread
|
||||
)
|
||||
{
|
||||
|
||||
@@ -40,7 +40,7 @@ int pthread_setcancelstate(
|
||||
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
|
||||
thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
|
||||
thread_support->cancelation_requested )
|
||||
POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
_POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ int pthread_setcanceltype(
|
||||
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
|
||||
thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
|
||||
thread_support->cancelation_requested )
|
||||
POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
_POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -27,5 +27,5 @@ void pthread_testcancel( void )
|
||||
|
||||
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
|
||||
thread_support->cancelation_requested )
|
||||
POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
_POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
}
|
||||
|
||||
@@ -13,14 +13,15 @@ typedef struct {
|
||||
} POSIX_Cancel_Handler_control;
|
||||
|
||||
/*
|
||||
* POSIX_Thread_cancel_run
|
||||
* _POSIX_Thread_cancel_run
|
||||
*
|
||||
* DESCRIPTION:
|
||||
*
|
||||
* XXX
|
||||
* This support routine runs through the chain of cancel handlers that
|
||||
* have been registered and executes them.
|
||||
*/
|
||||
|
||||
void POSIX_Thread_cancel_run(
|
||||
void _POSIX_Thread_cancel_run(
|
||||
Thread_Control *the_thread
|
||||
);
|
||||
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* POSIX_Thread_cancel_run
|
||||
* _POSIX_Thread_cancel_run
|
||||
*
|
||||
*/
|
||||
|
||||
void POSIX_Thread_cancel_run(
|
||||
void _POSIX_Thread_cancel_run(
|
||||
Thread_Control *the_thread
|
||||
)
|
||||
{
|
||||
|
||||
@@ -40,7 +40,7 @@ int pthread_setcancelstate(
|
||||
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
|
||||
thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
|
||||
thread_support->cancelation_requested )
|
||||
POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
_POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ int pthread_setcanceltype(
|
||||
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
|
||||
thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
|
||||
thread_support->cancelation_requested )
|
||||
POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
_POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -27,5 +27,5 @@ void pthread_testcancel( void )
|
||||
|
||||
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
|
||||
thread_support->cancelation_requested )
|
||||
POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
_POSIX_Thread_cancel_run( _Thread_Executing );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user