• 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: NSThread to NSOperation and blockUntil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSThread to NSOperation and blockUntil


  • Subject: Re: NSThread to NSOperation and blockUntil
  • From: Trygve Inda <email@hidden>
  • Date: Mon, 21 Mar 2016 23:33:48 -0700
  • Thread-topic: NSThread to NSOperation and blockUntil

> On Mar 21, 2016, at 18:07 , Trygve Inda <email@hidden> wrote:
>>
>> I would like to move this to NSOperation and NSOperationQueue but I see no
>> way to replicate this behavior.
>
> I think the GCD/NSOperationQueue concept of “background” quality of service is
> what you want here. That would let your re-factored calculations run at full
> speed during system idle times, using multiple CPUs, until CPU resources were
> needed for something of higher quality service. At that time, your background
> calculation would be throttled back until the system goes idle again.

That is a possibility, but I still need to have the process done by a set
time (unless it simply can't do it all even at 100%).

So I need to be able to have a process done in 30 seconds for example.... At
full speed it could be done in 4 seconds but I'd like it done with as little
impact as possible.





_______________________________________________

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: NSThread to NSOperation and blockUntil
      • From: Graham Cox <email@hidden>
    • Re: NSThread to NSOperation and blockUntil
      • From: Jens Alfke <email@hidden>
References: 
 >Re: NSThread to NSOperation and blockUntil (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSThread to NSOperation and blockUntil
  • Next by Date: Re: #selector noob question
  • Previous by thread: Re: NSThread to NSOperation and blockUntil
  • Next by thread: Re: NSThread to NSOperation and blockUntil
  • Index(es):
    • Date
    • Thread