Talk:Task (computers)

From Wikipedia, the free encyclopedia

Definition seems lacking and confusing as it stands. Also note the link from threads (computer context) to "task" is the wiki entry to the term task in its generic form. It may be better to point it to the "Task (computers)"

  • The link from threads seems to have been fixed. Agreed that we're not very clear about definitions, especially Task (computers) versus Process (computing) versus Job (software). There are two problems here - what are the underlying concepts, and then what words do different people describe them with? Terminology here is very often specific to a particular operating system or software package (or I suppose, academic subdiscipline). Kingdon 15:52, 10 January 2007 (UTC)
  • It's kind of confusing. At first, not knowing what tasks are (which is why i read the article), I didn't get what it was saying at all, because it seems to apply to any arbitrary section of code that's ever executed anywhere for any reason. but then I realized (if i'm right) that it implies that a task cannot call a function or jump somewhere that's outside of the task, or it's not a task. if that's actually what it's saying, though, it needs to state that point directly, and if it's not, it needs to say what it's actually saying.

    and it's not evident from the article why a task is related to real-time programming. is it because if the cpu switches out of a thread then execution jumps somewhere else? if so, i guess a 'context switch', or whatever, should be named among the exceptions "halt, exit or return", although it's hard to say, because the phrasing is redundant anyway.. a context switch isnt exactly a program instruction, per se, but then it also says 'as long as this program remains in this part of the address space...unless...' which is already contradicted if there's an exit or return. but then the wikipedia definition of real-time programming doesn't say anything about threads/processes or lack of them anyway.. Inhahe (talk) 16:33, 14 May 2008 (UTC)