Skip to content

Commit

Permalink
pushing to master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
keon94 committed Apr 1, 2017
1 parent 64a1f2a commit 0b62ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler/src/libscheduler/libscheduler.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ void suspend_job(job_t *job, int core_id, int time){
}

job->last_enqueued_time = time;
priqueue_offer(&priqueue, job); //a core was preempted, thus swap its running job with the new one, and enqueue that job
priqueue_offer(&priqueue, job);
global_state.active_jobs[core_id] = NULL;
}

Expand Down

0 comments on commit 0b62ae5

Please sign in to comment.