auto t = std::thread(&ResInit::loadRes, this); t.detach();
When the program runs to the above statement
it show error msg:
01-24 14:18:58.640: E/dalvikvm(25036): JNI ERROR: env->self != thread-self (0x1c46098 vs. 0x0); auto-correcting 01-24 14:18:58.645: A/libc(25036): Fatal signal 11 (SIGSEGV) at 0x00000358
Which experts know that this is what causes it? Seeking advice.