waits until the given thread can be executed , throwing an unchecked exception of the given timeout expires . concode_field_sep Lock sLock concode_elem_sep Condition sCondition concode_elem_sep Map<String,ScheduledTimer> sTimers concode_field_sep void removeTimer concode_elem_sep void schedule concode_elem_sep void addTimer concode_elem_sep void clearTimer concode_elem_sep void execute concode_elem_sep Set<String> getThreadNames
void function ( String arg0 , long arg1 , TimeUnit arg2 ) { try ( LockResource loc0 = new LockResource ( sLock ) ) { while ( ! sTimers . containsKey ( arg0 ) ) { if ( ! sCondition . await ( arg1 , arg2 ) ) { throw new RuntimeException ( "srini_string" + arg0 + "srini_string" ) ; } } } }