summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-03-08 22:14:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-03-08 22:14:56 +0000
commit97b6dc0bb9fe356d8d3b893aba0031c8a1d3f2e4 (patch)
treee5faa2d3c9f3eed724ac4431c040c03d4ee7c522 /cpukit
parent2011-03-07 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-97b6dc0bb9fe356d8d3b893aba0031c8a1d3f2e4.tar.bz2
2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1759/cpukit * posix/src/cancel.c, posix/src/pthreaddetach.c, posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c, posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c: Some POSIX pthread services did not support using Classic API Task Ids.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog9
-rw-r--r--cpukit/posix/src/cancel.c2
-rw-r--r--cpukit/posix/src/pthreaddetach.c2
-rw-r--r--cpukit/posix/src/pthreadequal.c4
-rw-r--r--cpukit/posix/src/pthreadgetschedparam.c2
-rw-r--r--cpukit/posix/src/pthreadjoin.c2
-rw-r--r--cpukit/posix/src/pthreadkill.c2
-rw-r--r--cpukit/posix/src/pthreadsetschedparam.c2
8 files changed, 17 insertions, 8 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 598de090dc..c985f557cc 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,12 @@
+2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1759/cpukit
+ * posix/src/cancel.c, posix/src/pthreaddetach.c,
+ posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c,
+ posix/src/pthreadjoin.c, posix/src/pthreadkill.c,
+ posix/src/pthreadsetschedparam.c: Some POSIX pthread services did not
+ support using Classic API Task Ids.
+
2011-03-03 Chris Johns <chrisj@rtems.org>
PR 1749/filesystem
diff --git a/cpukit/posix/src/cancel.c b/cpukit/posix/src/cancel.c
index 6058ff2605..0167c0a328 100644
--- a/cpukit/posix/src/cancel.c
+++ b/cpukit/posix/src/cancel.c
@@ -44,7 +44,7 @@ int pthread_cancel(
if ( _ISR_Is_in_progress() )
return EPROTO;
- the_thread = _POSIX_Threads_Get( thread, &location );
+ the_thread = _Thread_Get( thread, &location );
switch ( location ) {
case OBJECTS_LOCAL:
diff --git a/cpukit/posix/src/pthreaddetach.c b/cpukit/posix/src/pthreaddetach.c
index 06a95bfd05..6078fcc97e 100644
--- a/cpukit/posix/src/pthreaddetach.c
+++ b/cpukit/posix/src/pthreaddetach.c
@@ -30,7 +30,7 @@ int pthread_detach(
POSIX_API_Control *api;
Objects_Locations location;
- the_thread = _POSIX_Threads_Get( thread, &location );
+ the_thread = _Thread_Get( thread, &location );
switch ( location ) {
case OBJECTS_LOCAL:
diff --git a/cpukit/posix/src/pthreadequal.c b/cpukit/posix/src/pthreadequal.c
index 5fbe0c4f5e..9944026f3e 100644
--- a/cpukit/posix/src/pthreadequal.c
+++ b/cpukit/posix/src/pthreadequal.c
@@ -51,7 +51,7 @@ int pthread_equal(
* Validate the first id and return 0 if it is not valid
*/
- (void) _POSIX_Threads_Get( t1, &location );
+ (void) _Thread_Get( t1, &location );
switch ( location ) {
case OBJECTS_LOCAL:
@@ -60,7 +60,7 @@ int pthread_equal(
* Validate the second id and return 0 if it is not valid
*/
- (void) _POSIX_Threads_Get( t2, &location );
+ (void) _Thread_Get( t2, &location );
switch ( location ) {
case OBJECTS_LOCAL:
diff --git a/cpukit/posix/src/pthreadgetschedparam.c b/cpukit/posix/src/pthreadgetschedparam.c
index 6b981c3d1e..b8e0a83153 100644
--- a/cpukit/posix/src/pthreadgetschedparam.c
+++ b/cpukit/posix/src/pthreadgetschedparam.c
@@ -36,7 +36,7 @@ int pthread_getschedparam(
if ( !policy || !param )
return EINVAL;
- the_thread = _POSIX_Threads_Get( thread, &location );
+ the_thread = _Thread_Get( thread, &location );
switch ( location ) {
case OBJECTS_LOCAL:
diff --git a/cpukit/posix/src/pthreadjoin.c b/cpukit/posix/src/pthreadjoin.c
index d9fbfd0b0f..8ee9888b94 100644
--- a/cpukit/posix/src/pthreadjoin.c
+++ b/cpukit/posix/src/pthreadjoin.c
@@ -32,7 +32,7 @@ int pthread_join(
Objects_Locations location;
void *return_pointer;
- the_thread = _POSIX_Threads_Get( thread, &location );
+ the_thread = _Thread_Get( thread, &location );
switch ( location ) {
case OBJECTS_LOCAL:
diff --git a/cpukit/posix/src/pthreadkill.c b/cpukit/posix/src/pthreadkill.c
index 9b6bd408e0..f3e6f88ee5 100644
--- a/cpukit/posix/src/pthreadkill.c
+++ b/cpukit/posix/src/pthreadkill.c
@@ -40,7 +40,7 @@ int pthread_kill(
if ( !is_valid_signo(sig) )
rtems_set_errno_and_return_minus_one( EINVAL );
- the_thread = _POSIX_Threads_Get( thread, &location );
+ the_thread = _Thread_Get( thread, &location );
switch ( location ) {
case OBJECTS_LOCAL:
diff --git a/cpukit/posix/src/pthreadsetschedparam.c b/cpukit/posix/src/pthreadsetschedparam.c
index e95659f2db..14edfa0218 100644
--- a/cpukit/posix/src/pthreadsetschedparam.c
+++ b/cpukit/posix/src/pthreadsetschedparam.c
@@ -56,7 +56,7 @@ int pthread_setschedparam(
/*
* Actually change the scheduling policy and parameters
*/
- the_thread = _POSIX_Threads_Get( thread, &location );
+ the_thread = _Thread_Get( thread, &location );
switch ( location ) {
case OBJECTS_LOCAL: