non-blocking poll for pending updates . this method can only be invoked by the same thread that allocated this threadsafeprogressmonior . concode_field_sep Thread mainThread concode_elem_sep Semaphore process concode_elem_sep AtomicInteger pendingUpdates concode_elem_sep ReentrantLock lock concode_elem_sep ProgressMonitor pm concode_elem_sep AtomicInteger workers concode_field_sep boolean isMainThread concode_elem_sep void startWorker concode_elem_sep void doUpdates concode_elem_sep boolean isCancelled concode_elem_sep void beginTask concode_elem_sep void endTask concode_elem_sep void startWorkers concode_elem_sep void start concode_elem_sep void update concode_elem_sep void waitForCompletion concode_elem_sep void endWorker
void function ( ) { assert isMainThread ( ) ; doUpdates ( ) ; }