From 588b7f6616834651ea4062cf440e57a8a0cba25f Mon Sep 17 00:00:00 2001 From: rpj Date: Sat, 30 Oct 1999 09:17:28 +0000 Subject: ./ChangeLog: 1999-10-30 Ross Johnson * create.c (pthread_create): Explicitly initialise thread state to default values. * cancel.c (pthread_setcancelstate): Check for NULL 'oldstate' for compatibility with Solaris pthreads; (pthread_setcanceltype): ditto: - Erik Hensema 1999-10-23 Ross Johnson * pthread.h (ctime_r): Fix incorrect argument "_tm" - Erik Hensema tests/ChangeLog: 1999-10-30 Ross Johnson * cancel1.c: New. Test pthread_setcancelstate and pthread_setcanceltype functions. * eyal1.c (waste_time): Change calculation to avoid FP exception on Aplhas - Rich Peters --- tests/eyal1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/eyal1.c') diff --git a/tests/eyal1.c b/tests/eyal1.c index 533822d..7a2dc37 100644 --- a/tests/eyal1.c +++ b/tests/eyal1.c @@ -96,7 +96,7 @@ waste_time (int n) for (i = n*100; i > 0; --i) { - f = sqrt (f) * f + 10000.0; + f = 2 * f * f / (f * f); } } -- cgit v1.2.3