Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22145 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Sep 5, 2014
1 parent fcc7fbb commit c23611b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Compiler/BackEnd/HpcOmScheduler.mo
Expand Up @@ -129,7 +129,7 @@ protected function createListSchedule1 "function createListSchedule1
input Integer iThreadIdx;
input list<tuple<HpcOmSimCode.Task,Integer>> iPredecessors;
output list<HpcOmSimCode.Task> oTasks; //lock tasks
output list<HpcOmSimCode.Task> oOutgoingDepTasks;
output list<HpcOmSimCode.Task> oOutgoingDepTasks;
end FuncType;
protected
HpcOmSimCode.Task head, newTask;
Expand Down Expand Up @@ -402,7 +402,7 @@ protected
HpcOmSimCode.Task tmpTask, successorTask;
algorithm
(successorTask,_) := iSuccessorTask;
tmpTask := createDepTask(successorTask,iTask,false);
tmpTask := createDepTask(successorTask,iTask,false);
oReleaseTasks := tmpTask :: iReleaseTasks;
end addAssignLocksToSchedule;

Expand Down Expand Up @@ -517,7 +517,7 @@ algorithm
end createDepTask; //former: convertLockIdToAssignTask,convertLockIdToReleaseTask

protected function createDepTaskByTaskIdc "author: marcusw
Create a dependeny task that indicates that variables of another task are required or calculated. The
Create a dependeny task that indicates that variables of another task are required or calculated. The
source and target tasks are taken from the all-tasks-array."
input Integer iSourceTaskIdx;
input Integer iTargetTaskIdx;
Expand All @@ -533,9 +533,9 @@ algorithm
end createDepTaskByTaskIdc;

protected function createDepTaskByTaskIdcR "author: marcusw
Create a dependeny task that indicates that variables of another task are required or calculated. The
Create a dependeny task that indicates that variables of another task are required or calculated. The
source and target tasks are taken from the all-tasks-array. Additionally, this
is the revered edition of createOutgoingDummyDepTask, which means that the dependency is
is the revered edition of createOutgoingDummyDepTask, which means that the dependency is
leading from target to source."
input Integer iSourceTaskIdx;
input Integer iTargetTaskIdx;
Expand Down Expand Up @@ -4255,7 +4255,7 @@ author:Waurich TUD 2013-12"
input Integer numProc;
input array<tuple<HpcOmSimCode.Task,Integer>> iAllCalcTasks;
input list<HpcOmSimCode.Task> removeLocksIn;
output list<HpcOmSimCode.Task> removeLocksOut; //dummy-tasks are appended, that have a correct source- and target-taskID
output list<HpcOmSimCode.Task> removeLocksOut; //dummy-tasks are appended, that have a correct source- and target-taskID
protected
array<list<Integer>> parentsOnThreads;
list<Integer> otherParentsProcs, lockCandidatesFlat;
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenC.tpl
Expand Up @@ -2633,7 +2633,7 @@ template function_HPCOM_initializeLockByLockName(String lockName, String lockPre
pthread_spin_init(&<%lockPrefix%>_<%lockName%>, 0);
>>
end function_HPCOM_initializeLockByLockName;

template function_HPCOM_createLockByDepTask(Task depTask, String lockPrefix, String iType)
::=
let lockName = function_HPCOM_getLockNameByDepTask(depTask)
Expand Down

0 comments on commit c23611b

Please sign in to comment.