Specifies thread access lock modes, used by IG_thread_image_lock and IG_thread_image_unlock functions.