摘要 |
Provided is a context switching device capable of reducing conflicts among accesses due to retrieving and saving of contexts by plural processors. The context switching device has: a transfer unit which transfers context data, according to one of (i) the first transfer mode in which the context data is transferred continuously through cycles by a processor, and (ii) the second transfer mode in which plural pieces of the context data are transferred alternately per cycle by switching respective processors of the context data; and a control unit which (i) decides the processor to be used in the first transfer mode and the processors to be used in the second transfer mode, when there is a conflict in requests of the processors for switching context data, the number of processors being more than M, and (ii) controls the transfer unit based on the decision.
|