This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: PATCH: Add threaded tests


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]