Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-03-19 00:11:25 +0300
committerChristopher Faylor <me@cgf.cx>2001-03-19 00:11:25 +0300
commit94b03f2380794f20fdc53873b6b03994a37c9579 (patch)
treec5865bc035f4efd9e81cff75153a1217321dbaa7 /winsup/cygwin/pthread.cc
parent51cb7ca7acf620946b7b90baa10c56ff2669803e (diff)
Fix spacing, copyrights.
Diffstat (limited to 'winsup/cygwin/pthread.cc')
-rw-r--r--winsup/cygwin/pthread.cc40
1 files changed, 21 insertions, 19 deletions
diff --git a/winsup/cygwin/pthread.cc b/winsup/cygwin/pthread.cc
index 1cbec260b..42b3d6556 100644
--- a/winsup/cygwin/pthread.cc
+++ b/winsup/cygwin/pthread.cc
@@ -1,8 +1,8 @@
/* pthread.cc: posix pthread interface for Cygwin
- Copyright 1998 Cygnus Solutions.
+ Copyright 1998, 1999, 2000, 2001 Red Hat, Inc.
- Written by Marco Fuykschot <marco@ddi.nl>
+ Originally written by Marco Fuykschot <marco@ddi.nl>
This file is part of Cygwin.
@@ -59,27 +59,27 @@ pthread_exit (void * value_ptr)
}
int
-pthread_join(pthread_t thread, void **return_val)
+pthread_join (pthread_t thread, void **return_val)
{
- return __pthread_join(&thread, (void **)return_val);
+ return __pthread_join (&thread, (void **)return_val);
}
int
-pthread_detach(pthread_t thread)
+pthread_detach (pthread_t thread)
{
- return __pthread_detach(&thread);
+ return __pthread_detach (&thread);
}
int
-pthread_suspend(pthread_t thread)
+pthread_suspend (pthread_t thread)
{
- return __pthread_suspend(&thread);
+ return __pthread_suspend (&thread);
}
int
-pthread_continue(pthread_t thread)
+pthread_continue (pthread_t thread)
{
- return __pthread_continue(&thread);
+ return __pthread_continue (&thread);
}
unsigned long
@@ -174,49 +174,50 @@ pthread_mutex_destroy (pthread_mutex_t * mutex)
/* Synchronisation */
int
-pthread_cond_destroy(pthread_cond_t *cond)
+pthread_cond_destroy (pthread_cond_t *cond)
{
return __pthread_cond_destroy (cond);
}
int
-pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr)
+pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *attr)
{
return __pthread_cond_init (cond, attr);
}
int
-pthread_cond_signal(pthread_cond_t *cond)
+pthread_cond_signal (pthread_cond_t *cond)
{
return __pthread_cond_signal (cond);
}
-int pthread_cond_broadcast(pthread_cond_t *cond)
+int
+pthread_cond_broadcast (pthread_cond_t *cond)
{
return __pthread_cond_broadcast (cond);
}
int
-pthread_cond_timedwait(pthread_cond_t *cond,
+pthread_cond_timedwait (pthread_cond_t *cond,
pthread_mutex_t *mutex, const struct timespec *abstime)
{
return __pthread_cond_timedwait (cond, mutex, abstime);
}
int
-pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex)
+pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex)
{
return __pthread_cond_wait (cond, mutex);
}
int
-pthread_condattr_init(pthread_condattr_t *condattr)
+pthread_condattr_init (pthread_condattr_t *condattr)
{
return __pthread_condattr_init (condattr);
}
int
-pthread_condattr_destroy(pthread_condattr_t *condattr)
+pthread_condattr_destroy (pthread_condattr_t *condattr)
{
return __pthread_condattr_destroy (condattr);
}
@@ -227,7 +228,8 @@ pthread_condattr_getpshared (const pthread_condattr_t *attr, int *pshared)
return __pthread_condattr_getpshared (attr, pshared);
}
-int pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared)
+int
+pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared)
{
return __pthread_condattr_setpshared (attr, pshared);
}