How inspect pending performSelectorOnMainThread ?

2008-04-07 Thread Jacob Engstrand
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

Re: How inspect pending performSelectorOnMainThread ?

2008-04-07 Thread Jens Alfke
On 7 Apr '08, at 6:24 AM, Jacob Engstrand wrote: 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?

Re: How inspect pending performSelectorOnMainThread ?

2008-04-07 Thread Jean-Daniel Dupas
Le 7 avr. 08 à 16:49, Jens Alfke a écrit : On 7 Apr '08, at 6:24 AM, Jacob Engstrand wrote: 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