摘要 |
PROBLEM TO BE SOLVED: To make a 2nd thread end normally when a 1st thread ends. SOLUTION: A 1st end preparing means 12 which makes the processing of a 1st processing means 11 end and performs end preparation of a self-thread sets a 1st flag in a flag storing means 3. A processing interrupting means 22 interrupts the processing of a 2nd processing means temporarily, and a 2nd deciding means 23 decides the 1st flag. When it is confirmed that the 1st flag is set, a 2nd end preparing means 24 performs the end preparation of a self- thread, sets a 2nd flag in the means 3, and a 2nd ending means 25 ends the self-thread. When a 1st deciding means 13 confirms that the 2nd flag is set, a 1st ending means 14 ends the self-thread.
|