/[escript]/trunk/escript/src/Utils.h
ViewVC logotype

Annotation of /trunk/escript/src/Utils.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 757 - (hide annotations)
Mon Jun 26 13:12:56 2006 UTC (13 years, 5 months ago) by woo409
File MIME type: text/plain
File size: 967 byte(s)
+ Merge of intelc_win32 branch (revision 741:755) with trunk. Tested on iVEC altix (run_tests and py_tests all pass)

1 gross 391 /*
2 elspeth 615 ************************************************************
3     * Copyright 2006 by ACcESS MNRF *
4     * *
5     * http://www.access.edu.au *
6     * Primary Business: Queensland, Australia *
7     * Licensed under the Open Software License version 3.0 *
8     * http://www.opensource.org/licenses/osl-3.0.php *
9     * *
10     ************************************************************
11 gross 391 */
12 jgs 474
13 gross 391 #if !defined escript_Utils_H
14     #define escript_Utils_H
15 woo409 757 #include "system_dep.h"
16 gross 391
17     namespace escript {
18    
19     /**
20     \brief
21     some functions
22    
23     */
24    
25     /**
26     \brief
27     set the number of threads
28     */
29 woo409 757 ESCRIPT_DLL_API void setNumberOfThreads(const int num_threads);
30 gross 391
31     /**
32     \brief
33     returns the number of threads
34     */
35 woo409 757 ESCRIPT_DLL_API int getNumberOfThreads();
36 gross 391
37     } // end of namespace
38     #endif

  ViewVC Help
Powered by ViewVC 1.1.26