Patent ID: 7836446

Claim:
A computer-readable conflict management program embodied on a computer readable memory device that is to be executed by a computer of a portable terminal device, the conflict management program when executed perform: receiving one of (a) a start task execution request, (b) a termination notification of a currently executed task and (c) a state transition notification of a currently executed task; registering an active task in an active task list in a memory; detecting for a task conflict, to determine whether the task which issued the start task execution request can be started and whether a task waiting to be executed can be started, by referencing the active task list when the start task execution request is received in the reception step; determining a state to which the task designated by the start task execution request should switch and the state to which a currently executed task registered in the active task list should switch in accordance with predetermined conditions set in a conflict condition table when a task conflict is detected in the conflict detection step, wherein the states including a startup unachievable state, a startup achievable state, a running side standby state, a running side terminated state and an interrupting side standby state; and respectively placing the task designated by the start task execution request and the currently executed task registered in the active task list in the states determined in the state determination step.