Task (computing)
A task is "an execution path through address space". In other words, a set of program instructions that are loaded in memory. The address registers have been loaded with the initial address of the program. At the next clock cycle, the CPU will start execution, in accord with the program. The sense is that some part of 'a plan is being accomplished'. As long as the program remains in this part of the address space, the task can continue, in principle, indefinitely, unless the program instructions contain a halt, exit, or return.
- In the computer field, "task" has the sense of a real-time application, as distinguished from process, which takes up space (memory), and execution time. See operating system.
- Both "task" and "process" should be distinguished from event, which takes place at a specific time and place, and which can be planned for in a computer program.
- In a computer graphical user interface (GUI), an event can be as simple as a mouse click or keystroke.
- Both "task" and "process" should be distinguished from event, which takes place at a specific time and place, and which can be planned for in a computer program.
Kompiuterio uždavinys
Uždavinys yra "atlikti darbą per adresų laisvą erdvę". Kitaip tariant,kad programos instrukcijų rinkinys,būtų įkeltas į atmintį. Adresas registrų perkrautas su tam priskirtu adresu programai. Kitame takto cikle, CPU bus priverstas dirbti, viską nuosekliai su programa. Ta prasme, kad kai kuri "programos dalis yra vykdoma". Tol, kol programa dar šioje adresų erdvės dalyje, užduotis gali tęsti darbą, iš esmės neribotam laikui išskyrus atvejus, kai programos instrukcija būna sustabdyta, uždaryta arba grąžinta.
- Be kompiuterio srityje "uždavinys" yra realaus laiko taikymo prasme, kaip atskirti nuo proceso, kuris užima erdvę (atminti), ir vykdymo laiką. Žr operacinę sistemą.
- O tiek "uždavinys" ir "procesas", turėtų būti atskirti nuo įvykio, kuris įvyksta per tam tikrą laiką ir vietą, ir kurios gali būti planuojamas pagal kompiuterine programa.
- Ir kompiuteris grafinę vartotojo sąsają (GUI), atveju gali būti taip veikti, kaip pelės klavišo spustelėjimu arba klavišų.
- O tiek "uždavinys" ir "procesas", turėtų būti atskirti nuo įvykio, kuris įvyksta per tam tikrą laiką ir vietą, ir kurios gali būti planuojamas pagal kompiuterine programa.