Use customthread with Ajhc runtime.