• 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
task_t and dealloc?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

task_t and dealloc?


  • Subject: task_t and dealloc?
  • From: Stephane Sudre <email@hidden>
  • Date: Fri, 4 Nov 2005 13:30:01 +0100

When you do something like this:

task_t task;

tErrorCode=task_for_pid(mach_task_self(),inPID,&task);

Do you have to deallocate 'task' when you don't need it anymore? If yes, how do you do this?

mach_port_deallocate(mach_task_self(),task);

?

Because I'm seeing 1 warning during compilation when I use this.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: 64-bit question
  • Next by Date: Re: 64-bit question
  • Previous by thread: Re: Thread critical sections
  • Next by thread: Thread Priority
  • Index(es):
    • Date
    • Thread