I noticed that the following banal call from my main thread
[self performSelectorOnMainThread:@selector(rollBar:)
withObject:nil
waitUntilDone:false];
was causing [NSThread isMultiThreaded]
to report that my app
had become multithreaded. I thought that was only supposed
to happen when you detach a thread, something that queueing
a message within one thread shouldn't need to do.
Any insights?
This question not the same as this one.
Stop the press
My fault, rollBar:
called [m_progress_bar incrementBy: 0.5];
.
The the pretty, lickable, animating NSProgressIndicator
is responsible
for making my app become multithreaded. Which is surprising.
I didn't know that.
Surprisingly, [m_progress_bar usesThreadedAnimation]
always
returns NO
, even though the bar animates when my app is hung.