ThreadUtils 
    Types
Link copied to clipboard
                  interface BlockingOperation
Utility interface to be used with executeUninterruptibly() to wait for blocking operations to complete without getting interrupted..
Link copied to clipboard
                  Utility class to be used for checking that a method is called on the correct thread.
Functions
Link copied to clipboard
                  Link copied to clipboard
                  Throws exception if called from other than main thread.
Link copied to clipboard
                  Utility method to make sure a blocking operation is executed to completion without getting interrupted.
Link copied to clipboard
                  Post `runner` to `handler`, at the front, and wait for completion.
Post `callable` to `handler` and wait for the result.
Link copied to clipboard