Interface IRunLoop2
interface IRunLoop2
Extends IRunLoop
This interface extends IRunLoop with an additional API
to check whether the calling thread is the run loop thread.
Methods
isCurrentThread()
bool isCurrentThread()
Returns true if the current thread is the run loop thread.
Returns
bool
True if called from the thread that this IRunLoop2 is running on,
false otherwise.

