Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

NSOperationQueue ==> Broken ?

aryaxtaryaxt Posts: 570Registered Users
edited December 2008 in iPhone SDK Development
Ok I need to create threads in my app.
Alot of people r saying that NSOperationQueue is buggy, so what can i use instead of it?

Thanks
Post edited by aryaxt on

Replies

  • uprise78uprise78 Posts: 159Registered Users
    edited December 2008
    Buggy? Not from my experience. I use it extensively without issue. If you still fear the queue roll your own threads. Check out the docs on the NSThread class. Either way isn't hard compared to most languages.
  • aryaxtaryaxt Posts: 570Registered Users
    edited December 2008
    uprise78;35341 said:
    Buggy? Not from my experience. I use it extensively without issue. If you still fear the queue roll your own threads. Check out the docs on the NSThread class. Either way isn't hard compared to most languages.
    Thx. I used NSThread.
    Alot of people noticed NSOperationQueue fails. just google it prople have sample codes that demonstrate the issues and crashes.

    Great Forum, Fast & Great answers, thanks again
  • uprise78uprise78 Posts: 159Registered Users
    edited December 2008
    Digging a bit further, you I have only seen the NSOperationQueue issue crop up on certain hardware on Intel Leopard. I haven't seen the problem on iPhone OS nor have I seen any sample code that can trigger it. Not to mention, the code that does crash is using multiple NSOperationQueues when it seems as though any application can get by with only 1 and I believe (from the wording of Apples docs) that Apple only intended each process to have one NSOperationQueue.
Sign In or Register to comment.