• 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: user-stoppable program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: user-stoppable program


  • Subject: Re: user-stoppable program
  • From: Sherm Pendley <email@hidden>
  • Date: Thu, 25 May 2006 20:20:28 -0400

On May 25, 2006, at 6:21 PM, Cameron Hayne wrote:

Multithreaded programs are always tricky.

Indeed. An alternative option would be to replace the while() with an if(), and then use an NSTimer to repeatedly call the "worker" method. That would avoid blocking the run loop.


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

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


  • Follow-Ups:
    • Re: user-stoppable program
      • From: email@hidden
References: 
 >user-stoppable program (From: email@hidden)
 >Re: user-stoppable program (From: "I. Savant" <email@hidden>)
 >Re: user-stoppable program (From: email@hidden)
 >Re: user-stoppable program (From: Cameron Hayne <email@hidden>)

  • Prev by Date: ssl.h linking error
  • Next by Date: NSConnection crashes
  • Previous by thread: Re: user-stoppable program
  • Next by thread: Re: user-stoppable program
  • Index(es):
    • Date
    • Thread