Patent ID: 7836325

Claim:
A communication device comprising: a first data processor which perform multi-media processing, the first data processor having a first timer circuit which is set for a first cycle, a second timer circuit which is set for a second cycle shorter than the first cycle, a timeout supervisor which can store a waiting time when a system call is made, and a first cycle supervisor which can store a time until the next interruption request from the first timer circuit when the system call is made; and a second data processor which performs communication processing, wherein the first and second data processors are operable simultaneously, wherein the timeout supervisor stores the waiting time as a result of subtraction of the waiting time stored in the first cycle supervisor from the waiting time stored in the timeout supervisor upon an interruption request from the first timer, and if the waiting time stored in the timeout supervisor is shorter than the first cycle, the second cycle time is subtracted from the waiting time stored in the timeout supervisor upon an interruption request from the second timer circuit, and wherein if the result of subtraction of the second cycle value from the value in the timeout supervisor is zero or less, then a given event is executed.