gendb: s/THREADISP/THREADDISP/