MulticoreBSP for C
Version 1.1
Main Page
Namespaces
Data Structures
Files
File List
Globals
mcbsp-internal.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2012 by Albert-Jan N. Yzelman
3
*
4
* This file is part of MulticoreBSP in C --
5
* a port of the original Java-based MulticoreBSP.
6
*
7
* MulticoreBSP for C is distributed as part of the original
8
* MulticoreBSP and is free software: you can redistribute
9
* it and/or modify it under the terms of the GNU Lesser
10
* General Public License as published by the Free Software
11
* Foundation, either version 3 of the License, or
12
* (at your option) any later version.
13
* MulticoreBSP is distributed in the hope that it will be
14
* useful, but WITHOUT ANY WARRANTY; without even the
15
* implied warranty of MERCHANTABILITY or FITNESS FOR A
16
* PARTICULAR PURPOSE. See the GNU Lesser General Public
17
* License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General
20
* Public License along with MulticoreBSP. If not, see
21
* <http://www.gnu.org/licenses/>.
22
*/
23
24
//public function defs,
25
//for documentation see the .h file:
26
#include "
mcbsp.h
"
27
28
//affinity interface
29
#include "
mcbsp-affinity.h
"
30
31
#ifdef __GNUC__
32
#ifndef _GNU_SOURCE
33
#define _GNU_SOURCE
34
#endif
35
#endif
36
37
//hidden includes (from library user's perspective)
38
#include <errno.h>
39
#include <sched.h>
40
#include <signal.h>
41
#include <pthread.h>
42
43
#ifdef __MACH__
44
#include <mach/mach.h>
45
#include <mach/mach_error.h>
46
#include <mach/thread_policy.h>
47
#endif
48
49
#ifdef _WIN32
50
#include <windows.h>
51
#endif
52
53
#include "
mcinternal.h
"
54
#include "
mcutil.h
"
55
Generated by
1.8.1.1