def get_hung_thread():
    hung_thread = 0
    cur_max = 0
    for thread in get_thread_list():
        m = re.match(r"\s+([0-9a-f]+):[0-9a-f]+\s+[0-9]+\sdays\s", thread)
        if not m:
            continue
        run_time = get_thread_run_time(thread)
        if run_time > cur_max:
            hung_thread = int(m.group(1))
            cur_max = run_time
    return hung_thread
dataset/ETHPy150Open blackberry/ALF/lib/dbgmin/scripts/WinDBGTrace.py/get_hung_thread/original