* 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.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user