[uClibc]Call to sysconf blocking

Brian Stafford brian.stafford at office-logic.com
Mon Nov 19 11:27:16 UTC 2001


When the following simple program is compiled, it blocks indefinitely in 
clock().  A gdb stack trace shows that it actually blocks in sysconf().

Any ideas?

#include <stdio.h>
#include <time.h>

main ()
{
   clock_t length;

   length = clock ();
   printf ("%ld\n", length);
}


Brian Stafford





More information about the uClibc mailing list