diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-03 12:51:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-03 12:51:09 +0000 |
commit | 2b2ab1c0706b4697d1fa8f314d8a1f45ca72b9b9 (patch) | |
tree | 1f1de9d636011ceedaff990c5c099ddeba392711 | |
parent | Added CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM as a configuration (diff) | |
download | rtems-2b2ab1c0706b4697d1fa8f314d8a1f45ca72b9b9.tar.bz2 |
Renamed POSIX_Thread_cancel_run to _POSIX_Thread_cancel_run since RTEMS
internal symbols are supposed to have leading underscores.
-rw-r--r-- | c/src/exec/posix/include/rtems/posix/cancel.h | 7 | ||||
-rw-r--r-- | c/src/exec/posix/src/cancelrun.c | 4 | ||||
-rw-r--r-- | c/src/exec/posix/src/setcancelstate.c | 2 | ||||
-rw-r--r-- | c/src/exec/posix/src/setcanceltype.c | 2 | ||||
-rw-r--r-- | c/src/exec/posix/src/testcancel.c | 2 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/cancel.h | 7 | ||||
-rw-r--r-- | cpukit/posix/src/cancelrun.c | 4 | ||||
-rw-r--r-- | cpukit/posix/src/setcancelstate.c | 2 | ||||
-rw-r--r-- | cpukit/posix/src/setcanceltype.c | 2 | ||||
-rw-r--r-- | 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 ); } |