boolean function ( ) { ensureThreadIdAssigned ( ) ; return mThreadId . equals ( Thread . currentThread ( ) . getId ( ) ) ; }
checks if the method is called on the valid thread . assigns the current thread if no thread was assigned . concode_field_sep Long mThreadId concode_field_sep void detachFromThread concode_elem_sep void ensureThreadIdAssigned