Patent ID: 7292847

Claim:
A method of coordinating tasks in a GSM system, the method which comprises: providing a first task including GSM layer 1 tasks, and providing a second task including GSM upper layer tasks; providing a single-core microprocessor digital signal processor having a microprocessor and a digital signal processor combined on a single chip; providing a GSM scheduler and scheduling the following operations with the GSM scheduler: starting an execution of the first task with the single-core microprocessor digital signal processor; suspending the execution of the first task a plurality of times for a respective plurality of time intervals; and executing the second task with the single-core microprocessor digital signal processor during at least one of the plurality of time intervals; and selectively running the GSM scheduler in a time-slice mode or in a non-interruptible mode, wherein the GSM scheduler performs the following tasks in the time-slice mode: sending messages to start a GSM task; setting a timer and estimating a termination time of a GSM task; suspending itself when a GSM task is running; suspending a running task or resuming a suspended task based on timer information; switching into a non-interruptible mode if a termination time is exceeded: and receiving a message from a GSM task when the GSM task is ready to be performed; and wherein the GSM scheduler performs the following tasks in the non-interruptible mode: disabling application interrupts; run pending GSM tasks without interruption until the GSM tasks are in time and meet the real-time requirements; and switching into the time-slice mode.