Prefix guards with SMP_ to avoid conflicts
This commit is contained in:
parent
6974bc7bbe
commit
ea2b71e7de
19 changed files with 38 additions and 38 deletions
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef MWMODEL_H_
|
||||
#define MWMODEL_H_
|
||||
#ifndef SMP_MWMODEL_H_
|
||||
#define SMP_MWMODEL_H_
|
||||
|
||||
#include <cassert>
|
||||
#include <thread>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef PPE_H_
|
||||
#define PPE_H_
|
||||
#ifndef SMP_PPE_H_
|
||||
#define SMP_PPE_H_
|
||||
|
||||
/** Parameter Pack Expansion: Utility file to expand parameter pack
|
||||
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef ABS_ISLAND_H_
|
||||
#define ABS_ISLAND_H_
|
||||
#ifndef SMP_ABSTRACT_ISLAND_H_
|
||||
#define SMP_ABSTRACT_ISLAND_H_
|
||||
|
||||
#include <atomic>
|
||||
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef ALGO_D_H_
|
||||
#define ALGO_D_H_
|
||||
#ifndef SMP_ALGO_DISPATCHING_H_
|
||||
#define SMP_ALGO_DISPATCHING_H_
|
||||
|
||||
#include <eo>
|
||||
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef BIMAP_MODEL_H_
|
||||
#define BIMAP_MODEL_H_
|
||||
#ifndef SMP_BIMAP_MODEL_H_
|
||||
#define SMP_BIMAP_MODEL_H_
|
||||
|
||||
#include <set>
|
||||
#include <map>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef CONT_D_H_
|
||||
#define CONT_D_H_
|
||||
#ifndef SMP_CONT_DISPATCHING_H_
|
||||
#define SMP_CONT_DISPATCHING_H_
|
||||
|
||||
/** Continuator Dispatching
|
||||
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef CONTWRAPPER_H_
|
||||
#define CONTWRAPPER_H_
|
||||
#ifndef SMP_CONT_WRAPPER_H_
|
||||
#define SMP_CONT_WRAPPER_H_
|
||||
|
||||
#include <queue>
|
||||
#include <vector>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef HOMOGENEOUS_ISLAND_MODEL_H_
|
||||
#define HOMOGENEOUS_ISLAND_MODEL_H_
|
||||
#ifndef SMP_HOMOGENEOUS_ISLAND_MODEL_H_
|
||||
#define SMP_HOMOGENEOUS_ISLAND_MODEL_H_
|
||||
|
||||
#include <queue>
|
||||
#include <algorithm>
|
||||
|
|
@ -55,6 +55,8 @@ public:
|
|||
|
||||
~HomogeneousIslandModel();
|
||||
|
||||
void operator()();
|
||||
|
||||
std::vector<eoPop<EOT>>& getPop();
|
||||
|
||||
protected:
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef INT_POLICY_H_
|
||||
#define INT_POLICY_H_
|
||||
#ifndef SMP_INT_POLICY_H_
|
||||
#define SMP_INT_POLICY_H_
|
||||
|
||||
#include <eo>
|
||||
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef ISLAND_H_
|
||||
#define ISLAND_H_
|
||||
#ifndef SMP_ISLAND_H_
|
||||
#define SMP_ISLAND_H_
|
||||
|
||||
#include <queue>
|
||||
#include <vector>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef ISLAND_MODEL_H_
|
||||
#define ISLAND_MODEL_H_
|
||||
#ifndef SMP_ISLAND_MODEL_H_
|
||||
#define SMP_ISLAND_MODEL_H_
|
||||
|
||||
#include <queue>
|
||||
#include <algorithm>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef ISLAND_NOTIFIER_H_
|
||||
#define ISLAND_NOTIFIER_H_
|
||||
#ifndef SMP_ISLAND_NOTIFIER_H_
|
||||
#define SMP_ISLAND_NOTIFIER_H_
|
||||
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef MIG_POLICY_H_
|
||||
#define MIG_POLICY_H_
|
||||
#ifndef SMP_MIG_POLICY_H_
|
||||
#define SMP_MIG_POLICY_H_
|
||||
|
||||
#include <eo>
|
||||
#include <policyElement.h>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef NOTIFIER_H_
|
||||
#define NOTIFIER_H_
|
||||
#ifndef SMP_NOTIFIER_H_
|
||||
#define SMP_NOTIFIER_H_
|
||||
|
||||
#include <eo>
|
||||
#include <functional>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef POLICIES_D_H_
|
||||
#define POLICIES_D_H_
|
||||
#ifndef SMP_POLICIES_DISPATCHING_H_
|
||||
#define SMP_POLICIES_DISPATCHING_H_
|
||||
|
||||
#include <eo>
|
||||
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef POLICY_ELEM_H_
|
||||
#define POLICY_ELEM_H_
|
||||
#ifndef SMP_POLICY_ELEMENT_H_
|
||||
#define SMP_POLICY_ELEMENT_H_
|
||||
|
||||
#include <eo>
|
||||
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
|||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#ifndef SCHEDULER_H_
|
||||
#define SCHEDULER_H_
|
||||
#ifndef SMP_SCHEDULER_H_
|
||||
#define SMP_SCHEDULER_H_
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
|
|
|||
|
|
@ -98,8 +98,6 @@ int main(void)
|
|||
try
|
||||
{
|
||||
|
||||
|
||||
|
||||
model.add(test);
|
||||
model.add(test2);
|
||||
model.add(test3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue