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:
Joel Sherrill
1999-11-03 12:51:09 +00:00
parent 86ed4f09d7
commit 2b2ab1c070
10 changed files with 18 additions and 16 deletions

View File

@@ -13,14 +13,15 @@ typedef struct {
} POSIX_Cancel_Handler_control; } POSIX_Cancel_Handler_control;
/* /*
* POSIX_Thread_cancel_run * _POSIX_Thread_cancel_run
* *
* DESCRIPTION: * 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 Thread_Control *the_thread
); );

View File

@@ -16,11 +16,11 @@
/*PAGE /*PAGE
* *
* POSIX_Thread_cancel_run * _POSIX_Thread_cancel_run
* *
*/ */
void POSIX_Thread_cancel_run( void _POSIX_Thread_cancel_run(
Thread_Control *the_thread Thread_Control *the_thread
) )
{ {

View File

@@ -40,7 +40,7 @@ int pthread_setcancelstate(
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE && if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS && thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
thread_support->cancelation_requested ) thread_support->cancelation_requested )
POSIX_Thread_cancel_run( _Thread_Executing ); _POSIX_Thread_cancel_run( _Thread_Executing );
return 0; return 0;
} }

View File

@@ -40,7 +40,7 @@ int pthread_setcanceltype(
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE && if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS && thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
thread_support->cancelation_requested ) thread_support->cancelation_requested )
POSIX_Thread_cancel_run( _Thread_Executing ); _POSIX_Thread_cancel_run( _Thread_Executing );
return 0; return 0;
} }

View File

@@ -27,5 +27,5 @@ void pthread_testcancel( void )
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE && if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
thread_support->cancelation_requested ) thread_support->cancelation_requested )
POSIX_Thread_cancel_run( _Thread_Executing ); _POSIX_Thread_cancel_run( _Thread_Executing );
} }

View File

@@ -13,14 +13,15 @@ typedef struct {
} POSIX_Cancel_Handler_control; } POSIX_Cancel_Handler_control;
/* /*
* POSIX_Thread_cancel_run * _POSIX_Thread_cancel_run
* *
* DESCRIPTION: * 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 Thread_Control *the_thread
); );

View File

@@ -16,11 +16,11 @@
/*PAGE /*PAGE
* *
* POSIX_Thread_cancel_run * _POSIX_Thread_cancel_run
* *
*/ */
void POSIX_Thread_cancel_run( void _POSIX_Thread_cancel_run(
Thread_Control *the_thread Thread_Control *the_thread
) )
{ {

View File

@@ -40,7 +40,7 @@ int pthread_setcancelstate(
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE && if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS && thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
thread_support->cancelation_requested ) thread_support->cancelation_requested )
POSIX_Thread_cancel_run( _Thread_Executing ); _POSIX_Thread_cancel_run( _Thread_Executing );
return 0; return 0;
} }

View File

@@ -40,7 +40,7 @@ int pthread_setcanceltype(
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE && if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS && thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
thread_support->cancelation_requested ) thread_support->cancelation_requested )
POSIX_Thread_cancel_run( _Thread_Executing ); _POSIX_Thread_cancel_run( _Thread_Executing );
return 0; return 0;
} }

View File

@@ -27,5 +27,5 @@ void pthread_testcancel( void )
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE && if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
thread_support->cancelation_requested ) thread_support->cancelation_requested )
POSIX_Thread_cancel_run( _Thread_Executing ); _POSIX_Thread_cancel_run( _Thread_Executing );
} }