summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/conddestroy.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 10:01:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 10:01:03 +0000
commit874297f3bea7761cf05ae26540b7a9e21d4a6e1d (patch)
tree3f514864e20beb9becc81d77053abec90d281a1a /cpukit/posix/src/conddestroy.c
parentRemove stray white spaces. (diff)
downloadrtems-874297f3bea7761cf05ae26540b7a9e21d4a6e1d.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/posix/src/conddestroy.c')
-rw-r--r--cpukit/posix/src/conddestroy.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/cpukit/posix/src/conddestroy.c b/cpukit/posix/src/conddestroy.c
index 012a48148d..a6d2c0fc81 100644
--- a/cpukit/posix/src/conddestroy.c
+++ b/cpukit/posix/src/conddestroy.c
@@ -19,17 +19,17 @@
/*PAGE
*
- * 11.4.2 Initializing and Destroying a Condition Variable,
+ * 11.4.2 Initializing and Destroying a Condition Variable,
* P1003.1c/Draft 10, p. 87
*/
-
+
int pthread_cond_destroy(
pthread_cond_t *cond
)
{
register POSIX_Condition_variables_Control *the_cond;
Objects_Locations location;
-
+
the_cond = _POSIX_Condition_variables_Get( cond, &location );
switch ( location ) {
case OBJECTS_REMOTE:
@@ -44,27 +44,27 @@ int pthread_cond_destroy(
case OBJECTS_LOCAL:
-
+
if ( _Thread_queue_First( &the_cond->Wait_queue ) ) {
_Thread_Enable_dispatch();
return EBUSY;
}
-
+
_Objects_Close(
&_POSIX_Condition_variables_Information,
&the_cond->Object
);
-
+
_POSIX_Condition_variables_Free( the_cond );
-
+
#if defined(RTEMS_MULTIPROCESSING)
if ( the_cond->process_shared == PTHREAD_PROCESS_SHARED ) {
-
+
_Objects_MP_Close(
&_POSIX_Condition_variables_Information,
the_cond->Object.id
);
-
+
_POSIX_Condition_variables_MP_Send_process_packet(
POSIX_CONDITION_VARIABLES_MP_ANNOUNCE_DELETE,
the_cond->Object.id,