• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is a task?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is a task?


  • Subject: Re: What is a task?
  • From: Wain Glaister <email@hidden>
  • Date: Sat, 20 Oct 2007 15:11:24 +0100

Hi Bob,

The terminology has gotten a little confusing between those two examples.

The notification center reference should say (IMHO) thread, not task.
Please raise a radar bug on this at bugreport.apple.com as the page contains both thread and task and definitely confuses them.


The terms thread and task are sometimes used interchangeably and mean the same thing. But sometimes they do mean different things.
This has been a confusing issue for a long time so I doubt that it will ever be properly resolved other than by conventions within individual groups of developers or in particular workplaces.


Personally I think of a thread as an executable that I can ask to do different tasks for me, where a task is a job that I need done.

Hope that helps,

Wain

On 20 Oct 2007, at 14:23, Bob Ueland wrote:

In 'NSNotificationCenter Class Reference' it says:

Each task has a default notification center.

I wonder what a task is?

In
'Multithreading Programming Topics' it says:


In Mac OS X, each process (application) is made up of one or more threads. ...Threads let your program perform multiple tasks in parallel.... Each
thread has its own execution stack and is scheduled for runtime
separately by the kernel.



From the above description it is clear what a thread is. But what is a task? Can a thread have several tasks with each task having its own default notification center?


Bob

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: What is a task?
      • From: Alastair Houghton <email@hidden>
References: 
 >What is a task? (From: Bob Ueland <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: Window/View Size Constraining
  • Previous by thread: What is a task?
  • Next by thread: Re: What is a task?
  • Index(es):
    • Date
    • Thread