The R Project SVN R

Rev

Rev 87075 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 87075 Rev 89755
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 2000-2024 The R Core Team.
3
 *  Copyright (C) 2000-2026 The R Core Team.
4
 *
4
 *
5
 *  This header file is free software; you can redistribute it and/or modify
5
 *  This header file 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
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
7
 *  the Free Software Foundation; either version 2.1 of the License, or
8
 *  (at your option) any later version.
8
 *  (at your option) any later version.
Line 22... Line 22...
22
 */
22
 */
23
 
23
 
24
/*
24
/*
25
  Experimental: included by src/library/stats/src/distance.c
25
  Experimental: included by src/library/stats/src/distance.c
26
 
26
 
27
  Not part of the API.
-
 
28
 
-
 
29
  Note that only uses R_num_math_threads: it is not clear
-
 
30
  R_num_math_threads should be exposed at all.
-
 
31
 
-
 
32
  This is not used currently on Windows, where R_num_math_threads
27
  This is not used currently on Windows.
33
  used not to be exposed.
-
 
34
*/
28
*/
35
 
29
 
36
#ifndef R_EXT_MATHTHREADS_H_
30
#ifndef R_EXT_MATHTHREADS_H_
37
#define R_EXT_MATHTHREADS_H_
31
#define R_EXT_MATHTHREADS_H_
38
 
32
 
Line 40... Line 34...
40
 
34
 
41
#ifdef  __cplusplus
35
#ifdef  __cplusplus
42
extern "C" {
36
extern "C" {
43
#endif
37
#endif
44
 
38
 
-
 
39
#ifdef USE_MATH_THREADS
45
LibExtern int R_num_math_threads;
40
LibExtern int R_num_math_threads;
46
LibExtern int R_max_num_math_threads;
41
LibExtern int R_max_num_math_threads;
-
 
42
#endif
47
 
43
 
48
#ifdef  __cplusplus
44
#ifdef  __cplusplus
49
}
45
}
50
#endif
46
#endif
51
 
47