PATCH: Add threaded tests

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Thu Jan 24 21:03:00 GMT 2002


Test pthreads4.cc takes forever on cygwin.  The other tests run in a reasonable time. 

On 900 MHz PIII
10^4 iterations: 47 s
10^5 iterations: 433 s  (> 300s dejagnu timeout)

Would you accept a patch something like

#if defined(__CYGWIN__)
static int iters = 10000;
#else
static int iters = 1000000;
#endif



More information about the Libstdc++ mailing list