Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions | Variables
TLS.cpp File Reference
#include <stdio.h>
Include dependency graph for TLS.cpp:

Go to the source code of this file.

Macros

#define _RWSTD_THREAD   __thread
 
#define STR(x)   #x
 
#define PRINT_MACRO(name)   printf ("#define " #name " " STR (name) "\n")
 

Functions

int main ()
 

Variables

_RWSTD_THREAD int tls_i
 
_RWSTD_THREAD char tls_extern_array [256]
 

Macro Definition Documentation

◆ _RWSTD_THREAD

#define _RWSTD_THREAD   __thread

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.

Copyright 1999-2007 Rogue Wave Software, Inc.

Definition at line 30 of file TLS.cpp.

◆ PRINT_MACRO

#define PRINT_MACRO (   name)    printf ("#define " #name " " STR (name) "\n")

Definition at line 34 of file TLS.cpp.

◆ STR

#define STR (   x)    #x

Definition at line 33 of file TLS.cpp.

Function Documentation

◆ main()

int main ( void  )

Definition at line 43 of file TLS.cpp.

Variable Documentation

◆ tls_extern_array

_RWSTD_THREAD char tls_extern_array

Definition at line 41 of file TLS.cpp.

◆ tls_i

_RWSTD_THREAD int tls_i

Definition at line 36 of file TLS.cpp.