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]

PATCH: Avoid thread/pthread4.cc timeout on common platform


Applied as obvious to both mainline and 3.1 branch.  I think I saw
this on old sparc-sun-solaris2.X hardware as well.

	reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
	* testsuite/thread/pthread4.cc: Lower nominal iteration counter.

Index: testsuite/thread/pthread4.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/thread/pthread4.cc,v
retrieving revision 1.2
diff -c -r1.2 pthread4.cc
*** pthread4.cc	2002/01/25 16:05:48	1.2
--- pthread4.cc	2002/03/13 02:49:43
***************
*** 39,45 ****
  #if defined(__CYGWIN__)
  static int iters = 10000;
  #else
! static int iters = 1000000;
  #endif
  
  void*
--- 39,45 ----
  #if defined(__CYGWIN__)
  static int iters = 10000;
  #else
! static int iters = 300000;
  #endif
  
  void*


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