摘要 |
A mobile device comprising a processor which is configured to run at least one of a plurality of threads, said plurality of threads comprising a mobile control thread, a priority adjusting thread and at least one other thread; a scheduler for scheduling threads to be run on said processor dependent on a priority of an thread relative to other threads, a display for displaying data to a user, an input system for a user to input commands, and a communication link for connecting said mobile device to a remote terminal, wherein, when said mobile control thread is running the processor is configured to capture data currently displayed on said display; send said captured data over said communication link; and issue an update sent notification to activate said priority adjusting thread; wherein, when said priority adjusting thread is running, the processor is configured to determine, on receipt of an update sent notification, whether a previous update sent notification issued less than a threshold time earlier, determine whether said mobile control thread has used more than a threshold amount of said processor, and if both determining steps are met reduce said priority of said mobile control thread below a priority of said at least one other thread and set a timer whereby when said timer expires, said priority of said mobile control thread is increased above said priority of said at least one other thread. |