摘要 |
PROBLEM TO BE SOLVED: To simplify a programming independently of an OS, to facilitate the management to connect a thread, a component or the like, and to simply switch a context by preparing the context at the time of starting the thread, storing it in a context area and switching the context of current. SOLUTION: A context generating means 6 sets a designated thread ID and component ID to a prepared context class and at the time of starting the thread, sets a prepared context 2 to the context class to which the thread is set. A context using means 7 combines and plots the thread, the component 3 and the context 2, and a thread current table 5 for setting information. Thus, programming is simplified independently of OS to combine-plot the thread, the component 3 and the context 2 to realize the simple switching of the context 2. |