~ubuntu-branches/ubuntu/wily/soundscaperenderer/wily-proposed

« back to all changes in this revision

Viewing changes to apf/apf/default_thread_policy.h

  • Committer: Package Import Robot
  • Author(s): IOhannes m zmölnig (Debian/GNU)
  • Date: 2014-09-01 11:35:32 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140901113532-svjohhyw755nkxef
Tags: 0.4.2~dfsg-1
* Imported Upstream version 0.4.2~dfsg

* Refreshed patches.
* Removed patches applied upstream.
* Install upstream's NEWS as changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/******************************************************************************
 
2
 * Copyright © 2012-2014 Institut für Nachrichtentechnik, Universität Rostock *
 
3
 * Copyright © 2006-2012 Quality & Usability Lab,                             *
 
4
 *                       Telekom Innovation Laboratories, TU Berlin           *
 
5
 *                                                                            *
 
6
 * This file is part of the Audio Processing Framework (APF).                 *
 
7
 *                                                                            *
 
8
 * The APF is free software:  you can redistribute it and/or modify it  under *
 
9
 * the terms of the  GNU  General  Public  License  as published by the  Free *
 
10
 * Software Foundation, either version 3 of the License,  or (at your option) *
 
11
 * any later version.                                                         *
 
12
 *                                                                            *
 
13
 * The APF is distributed in the hope that it will be useful, but WITHOUT ANY *
 
14
 * WARRANTY;  without even the implied warranty of MERCHANTABILITY or FITNESS *
 
15
 * FOR A PARTICULAR PURPOSE.                                                  *
 
16
 * See the GNU General Public License for more details.                       *
 
17
 *                                                                            *
 
18
 * You should  have received a copy  of the GNU General Public License  along *
 
19
 * with this program.  If not, see <http://www.gnu.org/licenses/>.            *
 
20
 *                                                                            *
 
21
 *                                 http://AudioProcessingFramework.github.com *
 
22
 ******************************************************************************/
 
23
 
 
24
/// @file
 
25
/// This header includes the default policy depending on the OS.
 
26
 
 
27
#ifndef APF_DEFAULT_THREAD_POLICY_H
 
28
#define APF_DEFAULT_THREAD_POLICY_H
 
29
 
 
30
// For all available preprocessor macros see:
 
31
// https://sourceforge.net/p/predef/wiki/OperatingSystems/
 
32
 
 
33
#ifndef APF_MIMOPROCESSOR_THREAD_POLICY
 
34
#ifdef _WIN32
 
35
#include "apf/dummy_thread_policy.h"
 
36
#else
 
37
#include "apf/posix_thread_policy.h"
 
38
#endif
 
39
#endif
 
40
 
 
41
#endif
 
42
 
 
43
// Settings for Vim (http://www.vim.org/), please do not remove:
 
44
// vim:softtabstop=2:shiftwidth=2:expandtab:textwidth=80:cindent
 
45
// vim:fdm=expr:foldexpr=getline(v\:lnum)=~'/\\*\\*'&&getline(v\:lnum)!~'\\*\\*/'?'a1'\:getline(v\:lnum)=~'\\*\\*/'&&getline(v\:lnum)!~'/\\*\\*'?'s1'\:'='