summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/condvar.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-01 09:25:33 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-01 09:25:33 +0000
commitfd56af193eff8ad598d2789e970150d7a363c890 (patch)
treec5ec50abc7960fcaf509b4b1b3a27e4a9302f345 /libpthread/linuxthreads/condvar.c
parentf45706ca6ade259d2cf9397c35b0135991470197 (diff)
change asm/volatile to __x__
Diffstat (limited to 'libpthread/linuxthreads/condvar.c')
-rw-r--r--libpthread/linuxthreads/condvar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/linuxthreads/condvar.c b/libpthread/linuxthreads/condvar.c
index d049d9782..d7b2e9886 100644
--- a/libpthread/linuxthreads/condvar.c
+++ b/libpthread/linuxthreads/condvar.c
@@ -46,7 +46,7 @@ strong_alias (__pthread_cond_destroy, pthread_cond_destroy)
static int cond_extricate_func(void *obj, pthread_descr th)
{
- volatile pthread_descr self = thread_self();
+ __volatile__ pthread_descr self = thread_self();
pthread_cond_t *cond = obj;
int did_remove = 0;
@@ -59,7 +59,7 @@ static int cond_extricate_func(void *obj, pthread_descr th)
int __pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex)
{
- volatile pthread_descr self = thread_self();
+ __volatile__ pthread_descr self = thread_self();
pthread_extricate_if extr;
int already_canceled = 0;
int spurious_wakeup_count;
@@ -141,7 +141,7 @@ pthread_cond_timedwait_relative(pthread_cond_t *cond,
pthread_mutex_t *mutex,
const struct timespec * abstime)
{
- volatile pthread_descr self = thread_self();
+ __volatile__ pthread_descr self = thread_self();
int already_canceled = 0;
pthread_extricate_if extr;
int spurious_wakeup_count;