• 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
How inspect pending performSelectorOnMainThread ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How inspect pending performSelectorOnMainThread ?


  • Subject: How inspect pending performSelectorOnMainThread ?
  • From: Jacob Engstrand <email@hidden>
  • Date: Mon, 7 Apr 2008 15:24:49 +0200

Hi all,

In a separate thread I call:

[self performSelectorOnMainThread: @selector(broadcastMessage:) withObject: nil waitUntilDone: NO];

Now, is there a way for the main thread to inspect the queue of pending messages, their targets and arguments?
(I would like my unit test to verify that -broadcastMessage: has actually been sent to the main thread.)


Thanks,
jak



_______________________________________________

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: How inspect pending performSelectorOnMainThread ?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSVector, CGVector Additions
  • Next by Date: Re: activate my application while dragging on other application window
  • Previous by thread: Re: Obj-C idioms for list based tasks
  • Next by thread: Re: How inspect pending performSelectorOnMainThread ?
  • Index(es):
    • Date
    • Thread