MyTHREAD_TYPE_BATCH

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (C)
enum MyTHREAD_TYPE_BATCH = mythread_type.MyTHREAD_TYPE_BATCH;

Meta