summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-12-09 15:10:55 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-12-09 19:50:55 -0600
commitfa820b9e4c159535e8dcdb5e368fe2648e2b9e96 (patch)
treeb9808e7d3a60426514c748b80409c1730475b07b /cpukit/posix
parentposix/config.h: Comment clean up (diff)
downloadrtems-fa820b9e4c159535e8dcdb5e368fe2648e2b9e96.tar.bz2
pthread.c: Remove XXX and use SIGNAL_ constants
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/pthread.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c
index 4d8f95f150..55a38a435d 100644
--- a/cpukit/posix/src/pthread.c
+++ b/cpukit/posix/src/pthread.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2010.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -212,9 +212,7 @@ static bool _POSIX_Threads_Create_extension(
*
* The check for class == 1 is debug. Should never really happen.
*/
-
- /* XXX use signal constants */
- api->signals_pending = 0;
+ api->signals_pending = SIGNAL_EMPTY_MASK;
if ( _Objects_Get_API( created->Object.id ) == OBJECTS_POSIX_API
#if defined(RTEMS_DEBUG)
&& _Objects_Get_class( created->Object.id ) == 1
@@ -223,7 +221,7 @@ static bool _POSIX_Threads_Create_extension(
executing_api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
api->signals_blocked = executing_api->signals_blocked;
} else {
- api->signals_blocked = 0xffffffff;
+ api->signals_blocked = SIGNAL_ALL_MASK;
}
_Thread_queue_Initialize(