function scheduler_addRunningTask(id, priority, queue, task) {
  scheduler_addTask.call(this, id, priority, queue, task);
  tcb_setRunning.call(this.currentTcb);
}
Add the specified task and mark it as running.
@param {int} id the identity of the task
@param {int} priority the task's priority
@param {Packet} queue the queue of work to be processed by the task
@param {Task} task the task to add