mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
4260bc7454
1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * timezone/Makefile: Protect inclusion of z.* by avoid-generated and inhibit_timezone_rules instead of no_deps. * Make-dist: Pass inhibit_timezone_rules=t when making echo-distinfo. 1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * manual/Makefile (distribute): Remove dir-add.texinfo. * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and sys/user.h. 1998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * manual/Makefile (stamp-summary): Use ^L as separator for sorting. * manual/arith.texi: Add comments before all @deffoox lines to get them added to the summary. * manual/creature.texi: Likewise. * manual/math.texi: Likewise. 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * math/libm-test.c: Remove macro ISINF. Change all usages of ISINF to isinf. 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning. * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses warning. * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise. * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise. * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise. * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise. * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise. 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t. (svcudp_recv): Likewise. 1998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nis/nss-nisplus.h: Change some mappings of NIS+ errors to NSS error codes to avoid endless loops. 1998-12-12 Geoff Keating <geoffk@ozemail.com.au> * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have side-effects.
42 lines
680 B
C
42 lines
680 B
C
#include <errno.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <pthread.h>
|
|
#include <unistd.h>
|
|
|
|
void *
|
|
test_thread (void *v_param)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
unsigned long count;
|
|
|
|
setvbuf (stdout, NULL, _IONBF, 0);
|
|
|
|
for (count = 0; count < 2000; ++count)
|
|
{
|
|
pthread_t thread;
|
|
int status;
|
|
|
|
status = pthread_create (&thread, NULL, test_thread, NULL);
|
|
if (status != 0)
|
|
{
|
|
printf ("status = %d, count = %lu: %s\n", status, count,
|
|
strerror (errno));
|
|
return 1;
|
|
}
|
|
else
|
|
{
|
|
printf ("count = %lu\n", count);
|
|
}
|
|
/* pthread_detach (thread); */
|
|
pthread_join (thread, NULL);
|
|
usleep (10);
|
|
}
|
|
return 0;
|
|
}
|