summaryrefslogtreecommitdiffstats
path: root/test/pthread/ex7.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-31 15:21:24 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-31 15:21:24 +0000
commitdd7d7e3f138d1835d153c316f3d771e40dc641ba (patch)
tree7427232d1e9759028490f843152a83a4bbbab7db /test/pthread/ex7.c
parent89ed2cccba266f7738ceb445e4d43103c08cbe75 (diff)
downloaduClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.bz2
uClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.xz
Synch with trunk at rev 22997.
Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'test/pthread/ex7.c')
-rw-r--r--test/pthread/ex7.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/pthread/ex7.c b/test/pthread/ex7.c
index 9cf30aa19..49af18d96 100644
--- a/test/pthread/ex7.c
+++ b/test/pthread/ex7.c
@@ -48,13 +48,13 @@ test_thread (void *ms_param)
status = pthread_cond_timedwait(&foo.cond, &foo.mutex, &timeout);
}
pthread_mutex_unlock(&foo.mutex);
-
+
/* post the main event */
pthread_mutex_lock(&main_event.mutex);
main_event.flag = 1;
pthread_cond_signal(&main_event.cond);
pthread_mutex_unlock(&main_event.mutex);
-
+
/* that's it, bye */
return (void*) status;
}
@@ -95,7 +95,7 @@ main (void)
printf ("count = %lu\n", count);
}
-
+
usleep (10);
}