super("android.io", android.os.Process.THREAD_PRIORITY_DEFAULT, true /*allowIo*/);
if (sInstance == null) { sInstance = new IoThread(); sInstance.start(); sHandler = new Handler(sInstance.getLooper()); }
synchronized (IoThread.class) { ensureThreadLocked(); return sInstance; }
synchronized (IoThread.class) { ensureThreadLocked(); return sHandler; }