73 static volatile int nthreads;
85 const std::locale classic (std::locale::classic ());
126 "std::locale::classic() test disabled")) {
129 "testing std::locale::classic() with %d thread%{?}s%{;}",
138 "std::locale::global(const std::locale&) test disabled")) {
156 if (nlocales == maxinx)
161 "testing std::locale::global(const std::locale&) with "
162 "%d thread%{?}s%{;}, %d iteration%{?}s%{;} each, in "
163 "%zu locales { %{ .*A@} }",
166 nlocales,
int (nlocales),
"%#s", locale_names);
178int main (
int argc,
char *argv[])
180#ifdef _RWSTD_REENTRANT
190 return rw_test (argc, argv, __FILE__,
191 "lib.locale.statics",
void run_test(const ForwardIterator &dummy, T *, Predicate *pred)
#define _RWSTD_ATOMIC_PREINCREMENT(x, ignore)
#define _RWSTD_UNUSED(arg)
#define _RWSTD_CONST_CAST(T, x)
const struct @19 locales[]
_TEST_EXPORT int rw_test(int argc, char *argv[], const char *filename, const char *clause, const char *comment, int(*testfun)(int, char **), const char *optspec,...)
_TEST_EXPORT int rw_info(int, const char *, int, const char *,...)
_TEST_EXPORT int rw_note(int, const char *, int, const char *,...)
_TEST_EXPORT int rw_opt_setlocales(int, char *[])
_TEST_EXPORT const char *const & rw_opt_locales
_TEST_EXPORT char * rw_locales(int=_UNUSED_CAT, const char *=0, bool=true)
_TEST_EXPORT int rw_thread_pool(rw_thread_t *, _RWSTD_SIZE_T, rw_thread_attr_t *, rw_thread_proc *, void **, _RWSTD_SIZE_T=0)
_TEST_EXPORT int rw_get_cpus()
_TEST_EXPORT int rw_thread_pool_timeout_expired()