Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions | Variables
22.locale.cons.mt.cpp File Reference
#include <locale>
#include <cstring>
#include <rw_locale.h>
#include <rw_thread.h>
#include <rw_driver.h>
Include dependency graph for 22.locale.cons.mt.cpp:

Go to the source code of this file.

Macros

#define MAX_THREADS   32
 

Functions

int main (int argc, char *argv[])
 

Variables

int opt_nthreads = 1
 
int opt_nloops = 20000
 
int opt_combine
 
int opt_timeout = 60
 

Macro Definition Documentation

◆ MAX_THREADS

#define MAX_THREADS   32

22.locale.cons.mt.cpp

test exercising the thread safety of locale ctors

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 39 of file 22.locale.cons.mt.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 203 of file 22.locale.cons.mt.cpp.

Variable Documentation

◆ opt_combine

int opt_combine

Definition at line 51 of file 22.locale.cons.mt.cpp.

◆ opt_nloops

int opt_nloops = 20000

Definition at line 47 of file 22.locale.cons.mt.cpp.

◆ opt_nthreads

int opt_nthreads = 1

Definition at line 43 of file 22.locale.cons.mt.cpp.

◆ opt_timeout

int opt_timeout = 60

Definition at line 54 of file 22.locale.cons.mt.cpp.