摘要 |
PROBLEM TO BE SOLVED: To accelerate the change of a signal mask and switching of a thread in mounting of a thread library. SOLUTION: The signal masks of respective threads 3-1 to 3-n and signal holding information are stored in a signal state table 8 in a user area. A thread change a signal mask in the table 8 through the use of a signal mask changing means 5 at the time of changing the signal mask of its own. When an external signal receiving means 7 receives a signal, a signal receiving thread 6 allows a physical task 2 to execute signal receiving processing or stores signal holding information in the table 8 depending on whether a thread presently executed by the task 2 can receive the signal. At the time of switching a thread, the physical task 2 executes signal receiving processing in the case when signal holding information exists in the table 8 and a thread after switching can receive the signal.
|