checkLocked

Often used before upcoming calls that requires to run on GEMSdkThread or GLThread. This method is not required to be used. It is an useful tool for avoiding wrong thread problems. If this method throws exception then the upcoming calls would be placed on a wrong thread.

Throws

if called from other thread.