RAPI
R_ext/MathThreads.h
Go to the documentation of this file.
00001 /*
00002  *  R : A Computer Language for Statistical Data Analysis
00003  *  Copyright (C) 2000-2014 The R Core Team.
00004  *
00005  *  This program is free software; you can redistribute it and/or modify
00006  *  it under the terms of the GNU Lesser General Public License as published by
00007  *  the Free Software Foundation; either version 2.1 of the License, or
00008  *  (at your option) any later version.
00009  *
00010  *  This program is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *  GNU Lesser General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU Lesser General Public License
00016  *  along with this program; if not, a copy is available at
00017  *  https://www.R-project.org/Licenses/
00018  */
00019 
00020 /*
00021   Experimental: included by src/library/stats/src/distance.c
00022 
00023   Note that only uses R_num_math_threads: it is not clear
00024   R_num_math_threads should be exposed at all.
00025 
00026   This is not used currently on Windows, where R_num_math_threads
00027   used not to be exposed.
00028 */
00029 
00030 #ifndef R_EXT_MATHTHREADS_H_
00031 #define R_EXT_MATHTHREADS_H_
00032 
00033 #ifdef  __cplusplus
00034 extern "C" {
00035 #endif
00036 
00037 #include <R_ext/libextern.h>
00038 LibExtern int R_num_math_threads;
00039 LibExtern int R_max_num_math_threads;
00040 
00041 #ifdef  __cplusplus
00042 }
00043 #endif
00044 
00045 #endif /* R_EXT_MATHTHREADS_H_ */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines