diff options
author | Thomas Pfaff <tpfaff@gmx.net> | 2003-03-27 19:44:41 +0000 |
---|---|---|
committer | Thomas Pfaff <tpfaff@gmx.net> | 2003-03-27 19:44:41 +0000 |
commit | 9b15aa75590869091f7f23822b5e7626e10f7a0c (patch) | |
tree | fb7bdc6d08fcdb55e505f3b33135f22d6a7de62a /winsup/testsuite/winsup.api/pthread/rwlock7.c | |
parent | 921587de503cb7b6eb86dac76d09ce994d0bb29d (diff) | |
download | cygnal-9b15aa75590869091f7f23822b5e7626e10f7a0c.tar.gz cygnal-9b15aa75590869091f7f23822b5e7626e10f7a0c.tar.bz2 cygnal-9b15aa75590869091f7f23822b5e7626e10f7a0c.zip |
* winsup.api/pthread/condvar7.c (mythread): Cast
pthread_mutex_unlock argument of pthread_cleanup_push
to void *, preventing a compiler warning / testsuite failure.
* winsup.api/pthread/condvar9.c (mythread): Likewise.
* winsup.api/pthread/rwlock7.c (main): Use ftime instead of
_ftime.
Diffstat (limited to 'winsup/testsuite/winsup.api/pthread/rwlock7.c')
-rw-r--r-- | winsup/testsuite/winsup.api/pthread/rwlock7.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/testsuite/winsup.api/pthread/rwlock7.c b/winsup/testsuite/winsup.api/pthread/rwlock7.c index d8af507b5..5b0727d99 100644 --- a/winsup/testsuite/winsup.api/pthread/rwlock7.c +++ b/winsup/testsuite/winsup.api/pthread/rwlock7.c @@ -131,7 +131,7 @@ main (int argc, char *argv[]) assert(pthread_rwlock_init (&data[data_count].lock, NULL) == 0); } - _ftime(&currSysTime1); + ftime(&currSysTime1); /* * Create THREADS threads to access shared data. @@ -177,7 +177,7 @@ main (int argc, char *argv[]) printf ("%d thread updates, %d data updates\n", thread_updates, data_updates); - _ftime(&currSysTime2); + ftime(&currSysTime2); printf( "\nstart: %ld/%d, stop: %ld/%d, duration:%ld\n", currSysTime1.time,currSysTime1.millitm, |