Code example for ConditionVariable

Methods: blockclose

0
            st.release();
        } 
 
        // Should be called from other thread. 
        public void sendMessageSync(int msg) {
            mEglThreadBlockVar.close();
            sendEmptyMessage(msg);
            mEglThreadBlockVar.block();
        } 
 
    } 
 
    public MosaicPreviewRenderer(SurfaceTexture tex, int w, int h, boolean isLandscape) {
        mMosaicOutputSurfaceTexture = tex;
        mWidth = w;
        mHeight = h;
        mIsLandscape = isLandscape;
 
        mEglThread = new HandlerThread("PanoramaRealtimeRenderer");
        mEglThread.start();
Contextual code suggestions in your IDE  Get Codota for Java