CPC G06F 9/4881 (2013.01) | 18 Claims |
1. An electronic device comprising:
at least one processor; and
memory for storing instructions that, when executed by the at least one processor, cause
the electronic device to:
identify, in response to running of an application, a plurality of tasks related to a running operation of the application;
allocate virtual runtimes to the plurality of tasks when scheduling;
adjust the virtual runtime of at least one task among the plurality of tasks to be run with priority to be a minimum value, the at least one task being a main thread of the application;
arrange the at least one task with the adjusted virtual runtime; and
run the at least one task with priority according to an arrangement order.
|