From 2b2ab1c0706b4697d1fa8f314d8a1f45ca72b9b9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 3 Nov 1999 12:51:09 +0000 Subject: Renamed POSIX_Thread_cancel_run to _POSIX_Thread_cancel_run since RTEMS internal symbols are supposed to have leading underscores. --- c/src/exec/posix/include/rtems/posix/cancel.h | 7 ++++--- c/src/exec/posix/src/cancelrun.c | 4 ++-- c/src/exec/posix/src/setcancelstate.c | 2 +- c/src/exec/posix/src/setcanceltype.c | 2 +- c/src/exec/posix/src/testcancel.c | 2 +- cpukit/posix/include/rtems/posix/cancel.h | 7 ++++--- cpukit/posix/src/cancelrun.c | 4 ++-- cpukit/posix/src/setcancelstate.c | 2 +- cpukit/posix/src/setcanceltype.c | 2 +- cpukit/posix/src/testcancel.c | 2 +- 10 files changed, 18 insertions(+), 16 deletions(-) diff --git a/c/src/exec/posix/include/rtems/posix/cancel.h b/c/src/exec/posix/include/rtems/posix/cancel.h index 30c2f17975..f50b8c6f06 100644 --- a/c/src/exec/posix/include/rtems/posix/cancel.h +++ b/c/src/exec/posix/include/rtems/posix/cancel.h @@ -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 ); diff --git a/c/src/exec/posix/src/cancelrun.c b/c/src/exec/posix/src/cancelrun.c index e2b74b829a..9de56f050b 100644 --- a/c/src/exec/posix/src/cancelrun.c +++ b/c/src/exec/posix/src/cancelrun.c @@ -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 ) { diff --git a/c/src/exec/posix/src/setcancelstate.c b/c/src/exec/posix/src/setcancelstate.c index bb1c014ade..407a76dfb7 100644 --- a/c/src/exec/posix/src/setcancelstate.c +++ b/c/src/exec/posix/src/setcancelstate.c @@ -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; } diff --git a/c/src/exec/posix/src/setcanceltype.c b/c/src/exec/posix/src/setcanceltype.c index 8533587808..6c09836700 100644 --- a/c/src/exec/posix/src/setcanceltype.c +++ b/c/src/exec/posix/src/setcanceltype.c @@ -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; } diff --git a/c/src/exec/posix/src/testcancel.c b/c/src/exec/posix/src/testcancel.c index 4e576c7cab..40717c5ab0 100644 --- a/c/src/exec/posix/src/testcancel.c +++ b/c/src/exec/posix/src/testcancel.c @@ -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 ); } diff --git a/cpukit/posix/include/rtems/posix/cancel.h b/cpukit/posix/include/rtems/posix/cancel.h index 30c2f17975..f50b8c6f06 100644 --- a/cpukit/posix/include/rtems/posix/cancel.h +++ b/cpukit/posix/include/rtems/posix/cancel.h @@ -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 ); diff --git a/cpukit/posix/src/cancelrun.c b/cpukit/posix/src/cancelrun.c index e2b74b829a..9de56f050b 100644 --- a/cpukit/posix/src/cancelrun.c +++ b/cpukit/posix/src/cancelrun.c @@ -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 ) { diff --git a/cpukit/posix/src/setcancelstate.c b/cpukit/posix/src/setcancelstate.c index bb1c014ade..407a76dfb7 100644 --- a/cpukit/posix/src/setcancelstate.c +++ b/cpukit/posix/src/setcancelstate.c @@ -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; } diff --git a/cpukit/posix/src/setcanceltype.c b/cpukit/posix/src/setcanceltype.c index 8533587808..6c09836700 100644 --- a/cpukit/posix/src/setcanceltype.c +++ b/cpukit/posix/src/setcanceltype.c @@ -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; } diff --git a/cpukit/posix/src/testcancel.c b/cpukit/posix/src/testcancel.c index 4e576c7cab..40717c5ab0 100644 --- a/cpukit/posix/src/testcancel.c +++ b/cpukit/posix/src/testcancel.c @@ -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 ); } -- cgit v1.2.3