How can i get a list of currently running threads in objective-C(iphone)

Posted by krasnyk on Stack Overflow See other posts from Stack Overflow or by krasnyk
Published on 2010-03-15T09:24:50Z Indexed on 2010/03/15 9:29 UTC
Read the original article Hit count: 411

Filed under:
|
|
|

Is there a way to get the list of currently running threads in objective-C? I'm mostly interested in getting the NSThreads objects, cause i want to replace the assertion handler for each running thread?

If such thing is not possible, maybe i could set my own selector to be invoked after any thread is spawn(so that i could do the assertion handler replacement over there)?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c