super(rstc, "Atomics", ctx); mRes = res;
RenderScript pRS = RenderScript.create(mCtx); ScriptC_atomic s = new ScriptC_atomic(pRS); pRS.setMessageHandler(mRsMessage); s.invoke_atomic_test(); pRS.finish(); waitForMessage(); pRS.destroy();