String function ( Class arg0 , Thread arg1 ) { String loc0 = arg0 . getSimpleName ( ) ; String loc1 = arg1 . getName ( ) ; return String . format ( "srini_string" , loc0 , loc1 ) ; }
this will create a thread name that is unique . the thread name is a combination of the original thread name with a prefix of the type of the object that will be running within it . concode_field_sep Class type concode_field_sep Thread newThread concode_elem_sep Thread newThread concode_elem_sep Thread createThread