I have a background thread that polls UI thread every 200ms. If there is a hang for 2 seconds, I would like to get the call stack from UI thread at that point. When I call [NSThread callStackSymbols], it is executed on background thread since I check If the hang is more than 2 secs in background thread.
is there an easy way to get call stack on main thread from bg thread?