root / tmp / org.txm.statsengine.r.core.win32 / res / win32 / include / R_ext / MathThreads.h @ 2486
History  View  Annotate  Download (1.3 kB)
1 
/*


2 
* R : A Computer Language for Statistical Data Analysis

3 
* Copyright (C) 20002014 The R Core Team.

4 
*

5 
* This program is free software; you can redistribute it and/or modify

6 
* it under the terms of the GNU Lesser General Public License as published by

7 
* the Free Software Foundation; either version 2.1 of the License, or

8 
* (at your option) any later version.

9 
*

10 
* This program is distributed in the hope that it will be useful,

11 
* but WITHOUT ANY WARRANTY; without even the implied warranty of

12 
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

13 
* GNU Lesser General Public License for more details.

14 
*

15 
* You should have received a copy of the GNU Lesser General Public License

16 
* along with this program; if not, a copy is available at

17 
* http://www.rproject.org/Licenses/

18 
*/

19  
20 
/*

21 
Experimental: included by src/library/stats/src/distance.c

22 

23 
Note that only uses R_num_math_threads: it is not clear

24 
R_num_math_threads should be exposed at all.

25 

26 
This is not used currently on Windows, where R_num_math_threads

27 
used not to be exposed.

28 
*/

29  
30 
#ifndef R_EXT_MATHTHREADS_H_

31 
#define R_EXT_MATHTHREADS_H_

32  
33 
#ifdef __cplusplus

34 
extern "C" { 
35 
#endif

36  
37 
#include <R_ext/libextern.h> 
38 
LibExtern int R_num_math_threads;

39 
LibExtern int R_max_num_math_threads;

40  
41 
#ifdef __cplusplus

42 
} 
43 
#endif

44  
45 
#endif /* R_EXT_MATHTHREADS_H_ */ 