mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 22:34:03 +08:00
pthread1.cc: Enable on cygwin.
* testsuite/thread/pthread1.cc: Enable on cygwin. * testsuite/thread/pthread2.cc: Likewise. * testsuite/thread/pthread3.cc: Likewise. * testsuite/thread/pthread4.cc: Likewise. * testsuite/thread/pthread5.cc: Likewise. * testsuite/thread/pthread6.cc: Likewise. From-SVN: r49214
This commit is contained in:
parent
55492b32d7
commit
a68d024dfc
@ -1,3 +1,12 @@
|
||||
2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
|
||||
|
||||
* testsuite/thread/pthread1.cc: Enable on cygwin.
|
||||
* testsuite/thread/pthread2.cc: Likewise.
|
||||
* testsuite/thread/pthread3.cc: Likewise.
|
||||
* testsuite/thread/pthread4.cc: Likewise.
|
||||
* testsuite/thread/pthread5.cc: Likewise.
|
||||
* testsuite/thread/pthread6.cc: Likewise.
|
||||
|
||||
2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* testsuite/27_io/ostream_inserter_char.cc (test07): New.
|
||||
|
@ -18,7 +18,7 @@
|
||||
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
// USA.
|
||||
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
|
||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
|
||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
// USA.
|
||||
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
|
||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
|
||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
// USA.
|
||||
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
|
||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
|
||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
// USA.
|
||||
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
|
||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
|
||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||
|
||||
@ -36,7 +36,11 @@ using namespace std;
|
||||
static list<string> foo;
|
||||
static pthread_mutex_t fooLock = PTHREAD_MUTEX_INITIALIZER;
|
||||
static unsigned max_size = 10;
|
||||
#if defined(__CYGWIN__)
|
||||
static int iters = 10000;
|
||||
#else
|
||||
static int iters = 1000000;
|
||||
#endif
|
||||
|
||||
void*
|
||||
produce (void*)
|
||||
|
@ -20,7 +20,7 @@
|
||||
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
// USA.
|
||||
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
|
||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
|
||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
// USA.
|
||||
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
|
||||
// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
|
||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
|
||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user