PREPARE_TASK_SWITCH

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

prepare_task_switch - prepare to switch tasks  

SYNOPSIS

"SYNOPSIS"

void prepare_task_switch (runqueue_t * rq, task_t * next);  

ARGUMENTS

rq
the runqueue preparing to switch
next
the task we are going to switch to.
 

DESCRIPTION

This is called with the rq lock held and interrupts off. It must be paired with a subsequent finish_task_switch after the context switch.

prepare_task_switch sets up locking and calls architecture specific hooks.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:39 GMT, October 09, 2005